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 TypeMethodDescriptionvoidbindSocket(Socket socket) protected voidprotected voidprotected voidprotected voidprotected voidMethods 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:
onChannelDatain classChannel- Parameters:
msg-- Throws:
IOException
-
onChannelEOF
- Specified by:
onChannelEOFin classChannel- Throws:
IOException
-
onChannelClose
- Specified by:
onChannelClosein classChannel- Throws:
IOException
-
onChannelOpen
- Specified by:
onChannelOpenin classChannel- Throws:
IOException
-
onChannelExtData
- Specified by:
onChannelExtDatain classChannel- Parameters:
msg-- Throws:
IOException
-