Class TelnetSubnegotiationHandler
java.lang.Object
org.prelle.telnet.TelnetSubnegotiationHandler
- All Implemented Interfaces:
TelnetConstants
- Direct Known Subclasses:
AardwolfMushclientProtocol,GenericMUDCommunicationProtocol,LineMode,MUDTilemapProtocol,StatusOption,TelnetCharset,TelnetEnvironmentOption,TelnetWindowSize,TerminalType
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.prelle.telnet.TelnetConstants
TelnetConstants.ControlCode -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidhandleSubnegotiation(int code, int[] values, TelnetSocket origin, TelnetOutputStream out) booleaninitializeAs(TelnetOption option, CommunicationRole role, TelnetSocket origin, TelnetOutputStream out) Called after the use of a option has been confirmed
-
Field Details
-
logger
-
-
Constructor Details
-
TelnetSubnegotiationHandler
public TelnetSubnegotiationHandler()
-
-
Method Details
-
initializeAs
public boolean initializeAs(TelnetOption option, CommunicationRole role, TelnetSocket origin, TelnetOutputStream out) Called after the use of a option has been confirmed- Returns:
- TRUE when answers to a subnegotiation are expected
-
handleSubnegotiation
public abstract void handleSubnegotiation(int code, int[] values, TelnetSocket origin, TelnetOutputStream out)
-