Package com.sshtools.j2ssh.connection
Class SocketChannel
java.lang.Object
com.sshtools.j2ssh.connection.Channel
com.sshtools.j2ssh.connection.SocketChannel
- Direct Known Subclasses:
AgentSocketChannel
,ForwardingSocketChannel
- Version:
- $Revision: 1.14 $
- Author:
- $author$
-
Field Summary
FieldsFields inherited from class com.sshtools.j2ssh.connection.Channel
connection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, state
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindSocket
(Socket socket) protected void
protected void
protected void
protected void
protected void
Methods inherited from class com.sshtools.j2ssh.connection.Channel
addEventListener, close, finalizeClose, getChannelConfirmationData, getChannelOpenData, getChannelType, getLocalChannelId, getLocalPacketSize, getLocalWindow, getMaximumPacketSize, getMaximumWindowSpace, getMinimumWindowSpace, getName, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, onChannelRequest, open, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setLocalEOF, setName, setRemoteEOF
-
Field Details
-
socket
-
-
Constructor Details
-
SocketChannel
public SocketChannel()
-
-
Method Details
-
bindSocket
- Parameters:
socket
-- Throws:
IOException
-
onChannelData
- Specified by:
onChannelData
in classChannel
- Parameters:
msg
-- Throws:
IOException
-
onChannelEOF
- Specified by:
onChannelEOF
in classChannel
- Throws:
IOException
-
onChannelClose
- Specified by:
onChannelClose
in classChannel
- Throws:
IOException
-
onChannelOpen
- Specified by:
onChannelOpen
in classChannel
- Throws:
IOException
-
onChannelExtData
- Specified by:
onChannelExtData
in classChannel
- Parameters:
msg
-- Throws:
IOException
-