com.sshtools.j2ssh.agent
Class AgentSocketChannel
java.lang.Object
com.sshtools.j2ssh.connection.Channel
com.sshtools.j2ssh.connection.SocketChannel
com.sshtools.j2ssh.agent.AgentSocketChannel
public class AgentSocketChannel
- extends SocketChannel
- Version:
- $Revision: 1.11 $
- Author:
- $author$
Constructor Summary |
AgentSocketChannel(boolean isForwarding)
Creates a new AgentSocketChannel object. |
Methods inherited from class com.sshtools.j2ssh.connection.Channel |
addEventListener, close, finalizeClose, getLocalChannelId, getLocalPacketSize, getLocalWindow, getName, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, 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 |
AGENT_FORWARDING_CHANNEL
public static final java.lang.String AGENT_FORWARDING_CHANNEL
- See Also:
- Constant Field Values
AgentSocketChannel
public AgentSocketChannel(boolean isForwarding)
- Creates a new AgentSocketChannel object.
- Parameters:
isForwarding
-
getChannelType
public java.lang.String getChannelType()
- Specified by:
getChannelType
in class Channel
- Returns:
onChannelRequest
protected void onChannelRequest(java.lang.String requestType,
boolean wantReply,
byte[] requestData)
throws java.io.IOException
- Specified by:
onChannelRequest
in class Channel
- Throws:
java.io.IOException
getMaximumPacketSize
protected int getMaximumPacketSize()
- Specified by:
getMaximumPacketSize
in class Channel
- Returns:
getChannelOpenData
public byte[] getChannelOpenData()
- Specified by:
getChannelOpenData
in class Channel
- Returns:
getMinimumWindowSpace
protected int getMinimumWindowSpace()
- Specified by:
getMinimumWindowSpace
in class Channel
- Returns:
onChannelOpen
protected void onChannelOpen()
throws InvalidChannelException
- Overrides:
onChannelOpen
in class SocketChannel
- Throws:
InvalidChannelException
- DOCUMENT
ME!
InvalidChannelException
getMaximumWindowSpace
protected int getMaximumWindowSpace()
- Specified by:
getMaximumWindowSpace
in class Channel
- Returns:
getChannelConfirmationData
public byte[] getChannelConfirmationData()
- Specified by:
getChannelConfirmationData
in class Channel
- Returns:
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.