Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.j2ssh.connection » [javadoc | source]
com.sshtools.j2ssh.connection
abstract public class: Channel [javadoc | source]
java.lang.Object
   com.sshtools.j2ssh.connection.Channel

Direct Known Subclasses:
    ForwardingSocketChannel, SocketChannel, SubsystemChannel, AgentSocketChannel, ForwardingBindingChannel, ScpChannel, SftpSubsystemClient, BindingChannel, SessionChannelClient, SessionChannelServer, IOChannel, ForwardingIOChannel

Field Summary
protected  ChannelDataWindow localWindow     
protected  ChannelDataWindow remoteWindow     
protected  ConnectionProtocol connection     
protected  long localChannelId     
protected  long localPacketSize     
protected  long remoteChannelId     
protected  long remotePacketSize     
protected  ChannelState state     
Constructor:
 public Channel() 
Method from com.sshtools.j2ssh.connection.Channel Summary:
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
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.j2ssh.connection.Channel Detail:
 public  void addEventListener(ChannelEventListener eventListener) 
 public  void close() throws IOException 
 protected  void finalizeClose() throws IOException 
 abstract public byte[] getChannelConfirmationData()
 abstract public byte[] getChannelOpenData()
 abstract public String getChannelType()
 public long getLocalChannelId() 
 public long getLocalPacketSize() 
 public ChannelDataWindow getLocalWindow() 
 abstract protected int getMaximumPacketSize()
 abstract protected int getMaximumWindowSpace()
 abstract protected int getMinimumWindowSpace()
 public String getName() 
 public long getRemoteChannelId() 
 public long getRemotePacketSize() 
 public ChannelDataWindow getRemoteWindow() 
 public ChannelState getState() 
 protected  void init(ConnectionProtocol connection,
    long localChannelId,
    long senderChannelId,
    long initialWindowSize,
    long maximumPacketSize) throws IOException 
 protected  void init(ConnectionProtocol connection,
    long localChannelId,
    long senderChannelId,
    long initialWindowSize,
    long maximumPacketSize,
    ChannelEventListener eventListener) throws IOException 
 public boolean isClosed() 
 public boolean isLocalEOF() 
 public boolean isOpen() 
 public boolean isRemoteEOF() 
 abstract protected  void onChannelClose() throws IOException
 abstract protected  void onChannelData(SshMsgChannelData msg) throws IOException
 abstract protected  void onChannelEOF() throws IOException
 abstract protected  void onChannelExtData(SshMsgChannelExtendedData msg) throws IOException
 abstract protected  void onChannelOpen() throws IOException
 abstract protected  void onChannelRequest(String requestType,
    boolean wantReply,
    byte[] requestData) throws IOException
 protected  void open() throws IOException 
 protected  void processChannelData(SshMsgChannelData msg) throws IOException 
 protected  void processChannelData(SshMsgChannelExtendedData msg) throws IOException 
 protected  void remoteClose() throws IOException 
 protected  void sendChannelData(byte[] data) throws IOException 
 protected  void sendChannelExtData(int type,
    byte[] data) throws IOException 
 public  void setLocalEOF() throws IOException 
 public  void setName(String name) 
 protected  void setRemoteEOF() throws IOException