java.lang.Object
java.lang.Thread
plp.session.SessionRunner
- All Implemented Interfaces:
- ChannelListener, java.lang.Runnable, SessionListener
- public class SessionRunner
- extends java.lang.Thread
- implements ChannelListener, SessionListener
The SessionRunner tests the session layer
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
channel3
private Channel channel3
SessionRunner
public SessionRunner()
main
public static void main(java.lang.String[] args)
run
public void run()
- Description copied from class:
java.lang.Thread
- The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.
- Specified by:
run in interface java.lang.Runnable
handleChannelConnectedEvent
public void handleChannelConnectedEvent(Channel channel)
- Specified by:
handleChannelConnectedEvent in interface ChannelListener
handleChannelDisconnectedEvent
public void handleChannelDisconnectedEvent(Channel channel)
- Specified by:
handleChannelDisconnectedEvent in interface ChannelListener
handleChannelDataAvailableEvent
public void handleChannelDataAvailableEvent(Channel channel,
byte[] dataReceived)
- Specified by:
handleChannelDataAvailableEvent in interface ChannelListener
handleChannelNotAvailableEvent
public void handleChannelNotAvailableEvent(Channel channel)
- Specified by:
handleChannelNotAvailableEvent in interface ChannelListener
handleChannelFailedEvent
public void handleChannelFailedEvent(Channel channel)
- Specified by:
handleChannelFailedEvent in interface ChannelListener
handleSessionConnectedEvent
public void handleSessionConnectedEvent(Session session)
- Specified by:
handleSessionConnectedEvent in interface SessionListener
handleSessionDisconnectedEvent
public void handleSessionDisconnectedEvent(Session session)
- Specified by:
handleSessionDisconnectedEvent in interface SessionListener