com.mindbright.ssh2
Class SSH2Connector

java.lang.Object
  extended bycom.mindbright.ssh2.SSH2Connector
All Implemented Interfaces:
java.lang.Runnable

public final class SSH2Connector
extends java.lang.Object
implements java.lang.Runnable

This class takes care of all incoming CHANNEL_OPEN messages. It contains a thread which utilizes a queue to fetch the channel open requests. It creates new channels according to type requested. Only a single instance of SSH2Connector exists for each instance of the ssh2 stack.

See Also:
SSH2Connection

Constructor Summary
SSH2Connector(SSH2Connection connection)
           
 
Method Summary
 void channelOpen(SSH2TransportPDU pdu)
           
 void run()
           
 void setThreadPriority(int prio)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSH2Connector

public SSH2Connector(SSH2Connection connection)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

channelOpen

public void channelOpen(SSH2TransportPDU pdu)

setThreadPriority

public void setThreadPriority(int prio)

stop

public void stop()