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.- Version:
- 2.0 (16/07/2006)
- Author:
- Dieter Wimberger
- See Also:
ConnectionEvent
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
connectionIdle(ConnectionEvent ce)
Called when a CONNECTION_IDLE event occured.default void
connectionLogoutRequest(ConnectionEvent ce)
Called when a CONNECTION_LOGOUTREQUEST occured.default void
connectionSentBreak(ConnectionEvent ce)
Called when a CONNECTION_BREAK event occured.default void
connectionTerminalGeometryChanged(ConnectionEvent ce)
Called when a CONNECTION_TERMINAL_GEOMETRY_CHANGED event occured.default void
connectionTimedOut(ConnectionEvent ce)
Called when a CONNECTION_TIMEDOUT event occured.
-
-
-
Method Detail
-
connectionIdle
default void connectionIdle(ConnectionEvent ce)
Called when a CONNECTION_IDLE event occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
ConnectionEvent.Type.CONNECTION_IDLE
-
connectionTimedOut
default void connectionTimedOut(ConnectionEvent ce)
Called when a CONNECTION_TIMEDOUT event occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
ConnectionEvent.Type.CONNECTION_TIMEDOUT
-
connectionLogoutRequest
default void connectionLogoutRequest(ConnectionEvent ce)
Called when a CONNECTION_LOGOUTREQUEST occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
ConnectionEvent.Type.CONNECTION_LOGOUTREQUEST
-
connectionSentBreak
default void connectionSentBreak(ConnectionEvent ce)
Called when a CONNECTION_BREAK event occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
ConnectionEvent.Type.CONNECTION_BREAK
-
connectionTerminalGeometryChanged
default void connectionTerminalGeometryChanged(ConnectionEvent ce)
Called when a CONNECTION_TERMINAL_GEOMETRY_CHANGED event occured.- Parameters:
ce
- ConnectionEvent instance.- See Also:
ConnectionEvent.Type.CONNECTION_TERMINAL_GEOMETRY_CHANGED
-
-