Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.connection.Channel
com.sshtools.j2ssh.connection.SocketChannel
com.sshtools.j2ssh.agent.AgentSocketChannel
public class AgentSocketChannel
extends SocketChannel
Field Summary | |
static String |
Fields inherited from class com.sshtools.j2ssh.connection.SocketChannel | |
socket |
Fields inherited from class com.sshtools.j2ssh.connection.Channel | |
connection , localChannelId , localPacketSize , localWindow , remoteChannelId , remotePacketSize , remoteWindow , state |
Constructor Summary | |
|
Method Summary | |
byte[] | |
byte[] | |
String | |
protected int | |
protected int | |
protected int | |
protected void | |
protected void |
|
Methods inherited from class com.sshtools.j2ssh.connection.SocketChannel | |
bindSocket , onChannelClose , onChannelData , onChannelEOF , onChannelExtData , onChannelOpen |
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 , onChannelClose , onChannelData , onChannelEOF , onChannelExtData , onChannelOpen , onChannelRequest , open , processChannelData , processChannelData , remoteClose , sendChannelData , sendChannelExtData , setLocalEOF , setName , setRemoteEOF |
public AgentSocketChannel(boolean isForwarding)
Creates a new AgentSocketChannel object.
- Parameters:
isForwarding
-
public byte[] getChannelConfirmationData()
- Overrides:
- getChannelConfirmationData in interface Channel
- Returns:
public byte[] getChannelOpenData()
- Overrides:
- getChannelOpenData in interface Channel
- Returns:
protected int getMaximumPacketSize()
- Overrides:
- getMaximumPacketSize in interface Channel
- Returns:
protected int getMaximumWindowSpace()
- Overrides:
- getMaximumWindowSpace in interface Channel
- Returns:
protected int getMinimumWindowSpace()
- Overrides:
- getMinimumWindowSpace in interface Channel
- Returns:
protected void onChannelOpen() throws InvalidChannelException
- Overrides:
- onChannelOpen in interface SocketChannel
- Throws:
InvalidChannelException
- DOCUMENT ME!InvalidChannelException
-
protected void onChannelRequest(String requestType, boolean wantReply, byte[] requestData) throws IOException
- Overrides:
- onChannelRequest in interface Channel
- Parameters:
requestType
-wantReply
-requestData
-