com.sshtools.j2ssh.connection
Class SocketChannel
java.lang.Object
com.sshtools.j2ssh.connection.Channel
com.sshtools.j2ssh.connection.SocketChannel
- Direct Known Subclasses:
- AgentSocketChannel, ForwardingSocketChannel
public abstract class SocketChannel
- extends Channel
- Version:
- $Revision: 1.14 $
- Author:
- $author$
Field Summary |
protected java.net.Socket |
socket
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
socket
protected java.net.Socket socket
SocketChannel
public SocketChannel()
bindSocket
public void bindSocket(java.net.Socket socket)
throws java.io.IOException
- Parameters:
socket
-
- Throws:
java.io.IOException
onChannelData
protected void onChannelData(SshMsgChannelData msg)
throws java.io.IOException
- Specified by:
onChannelData
in class Channel
- Parameters:
msg
-
- Throws:
java.io.IOException
onChannelEOF
protected void onChannelEOF()
throws java.io.IOException
- Specified by:
onChannelEOF
in class Channel
- Throws:
java.io.IOException
onChannelClose
protected void onChannelClose()
throws java.io.IOException
- Specified by:
onChannelClose
in class Channel
- Throws:
java.io.IOException
onChannelOpen
protected void onChannelOpen()
throws java.io.IOException
- Specified by:
onChannelOpen
in class Channel
- Throws:
java.io.IOException
onChannelExtData
protected void onChannelExtData(SshMsgChannelExtendedData msg)
throws java.io.IOException
- Specified by:
onChannelExtData
in class Channel
- Parameters:
msg
-
- Throws:
java.io.IOException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.