Package org.jline.builtins.telnet
Interface ConnectionListener
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.
Note that a Shell is per contract also forced to implement this interface.
- Version:
- 2.0 (16/07/2006)
- Author:
- Dieter Wimberger
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Called when a CONNECTION_IDLE event occured.default void
Called when a CONNECTION_LOGOUTREQUEST occured.default void
Called when a CONNECTION_BREAK event occured.default void
Called when a CONNECTION_TERMINAL_GEOMETRY_CHANGED event occured.default void
Called when a CONNECTION_TIMEDOUT event occured.
-
Method Details
-
connectionIdle
Called when a CONNECTION_IDLE event occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
-
connectionTimedOut
Called when a CONNECTION_TIMEDOUT event occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
-
connectionLogoutRequest
Called when a CONNECTION_LOGOUTREQUEST occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
-
connectionSentBreak
Called when a CONNECTION_BREAK event occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
-
connectionTerminalGeometryChanged
Called when a CONNECTION_TERMINAL_GEOMETRY_CHANGED event occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
-