net.wimpi.telnetd.net
Interface ConnectionListener

All Known Subinterfaces:
Shell
All Known Implementing Classes:
DummyShell

public interface ConnectionListener

Interface to be implemented if a class wants to qualify as a ConnectionListener.
Note that a Shell is per contract also forced to implement this interface.

Version:
2.0 (16/07/2006)
Author:
Dieter Wimberger
See Also:
ConnectionEvent, Shell

Method Summary
 void connectionIdle(ConnectionEvent ce)
          Called when a CONNECTION_IDLE event occured.
 void connectionLogoutRequest(ConnectionEvent ce)
          Called when a CONNECTION_LOGOUTREQUEST occured.
 void connectionSentBreak(ConnectionEvent ce)
          Called when a CONNECTION_BREAK event occured.
 void connectionTimedOut(ConnectionEvent ce)
          Called when a CONNECTION_TIMEDOUT event occured.
 

Method Detail

connectionIdle

void connectionIdle(ConnectionEvent ce)
Called when a CONNECTION_IDLE event occured.

Parameters:
ce - ConnectionEvent instance.
See Also:
ConnectionEvent.CONNECTION_IDLE

connectionTimedOut

void connectionTimedOut(ConnectionEvent ce)
Called when a CONNECTION_TIMEDOUT event occured.

Parameters:
ce - ConnectionEvent instance.
See Also:
ConnectionEvent.CONNECTION_TIMEDOUT

connectionLogoutRequest

void connectionLogoutRequest(ConnectionEvent ce)
Called when a CONNECTION_LOGOUTREQUEST occured.

Parameters:
ce - ConnectionEvent instance.
See Also:
ConnectionEvent.CONNECTION_LOGOUTREQUEST

connectionSentBreak

void connectionSentBreak(ConnectionEvent ce)
Called when a CONNECTION_BREAK event occured.

Parameters:
ce - ConnectionEvent instance.
See Also:
ConnectionEvent.CONNECTION_BREAK


Copyright © 2010. All Rights Reserved.