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

All Implemented Interfaces:
    Runnable

Fields inherited from com.sshtools.j2ssh.transport.AsyncService:
thread
Fields inherited from com.sshtools.j2ssh.transport.Service:
REQUESTING_SERVICE,  ACCEPTING_SERVICE,  messageStore,  transport,  startMode,  state
Constructor:
 public ConnectionProtocol() 
Method from com.sshtools.j2ssh.connection.ConnectionProtocol Summary:
addChannelFactory,   allowGlobalRequest,   closeChannel,   containsChannelFactory,   freeChannel,   getAsyncMessageFilter,   isConnected,   onGlobalRequest,   onMessageReceived,   onServiceAccept,   onServiceInit,   onServiceRequest,   onStop,   openChannel,   openChannel,   removeChannelFactory,   sendChannelData,   sendChannelEOF,   sendChannelExtData,   sendChannelFailure,   sendChannelOpenConfirmation,   sendChannelOpenFailure,   sendChannelRequest,   sendChannelRequestFailure,   sendChannelRequestSuccess,   sendChannelWindowAdjust,   sendGlobalRequest,   sendGlobalRequestFailure,   sendGlobalRequestSuccess
Methods from com.sshtools.j2ssh.transport.AsyncService:
getAsyncMessageFilter,   onMessageReceived,   onStart,   onStop,   run
Methods from com.sshtools.j2ssh.transport.Service:
getServiceName,   getState,   init,   onServiceAccept,   onServiceInit,   onServiceRequest,   onStart,   sendServiceAccept,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.j2ssh.connection.ConnectionProtocol Detail:
 public  void addChannelFactory(String channelName,
    ChannelFactory cf) throws IOException 
 public  void allowGlobalRequest(String requestName,
    GlobalRequestHandler handler) 
 protected  void closeChannel(Channel channel) throws IOException 
 public boolean containsChannelFactory(String channelName) 
 protected  void freeChannel(Channel channel) 
 protected int[] getAsyncMessageFilter() 
 public boolean isConnected() 
 protected  void onGlobalRequest(String requestName,
    boolean wantReply,
    byte[] requestData) throws IOException 
 protected  void onMessageReceived(SshMessage msg) throws IOException 
 protected  void onServiceAccept() 
 protected  void onServiceInit(int startMode) throws IOException 
 protected  void onServiceRequest() 
 protected synchronized  void onStop() 
 public synchronized boolean openChannel(Channel channel) throws IOException 
 public synchronized boolean openChannel(Channel channel,
    ChannelEventListener eventListener) throws IOException 
 public  void removeChannelFactory(String channelName) 
 public synchronized  void sendChannelData(Channel channel,
    byte[] data) throws IOException 
 public  void sendChannelEOF(Channel channel) throws IOException 
 public synchronized  void sendChannelExtData(Channel channel,
    int extendedType,
    byte[] data) throws IOException 
 protected  void sendChannelFailure(Channel channel) throws IOException 
 protected  void sendChannelOpenConfirmation(Channel channel) throws IOException 
 protected  void sendChannelOpenFailure(long remoteChannelId,
    long reasonCode,
    String additionalInfo,
    String languageTag) throws IOException 
 public synchronized boolean sendChannelRequest(Channel channel,
    String requestType,
    boolean wantReply,
    byte[] requestData) throws IOException 
 public  void sendChannelRequestFailure(Channel channel) throws IOException 
 public  void sendChannelRequestSuccess(Channel channel) throws IOException 
 public  void sendChannelWindowAdjust(Channel channel,
    long bytesToAdd) throws IOException 
 public synchronized byte[] sendGlobalRequest(String requestName,
    boolean wantReply,
    byte[] requestData) throws IOException 
 protected  void sendGlobalRequestFailure() throws IOException 
 protected  void sendGlobalRequestSuccess(byte[] requestData) throws IOException