Class TelnetWindowSize
java.lang.Object
org.prelle.telnet.TelnetSubnegotiationHandler
org.prelle.telnet.option.TelnetWindowSize
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.prelle.telnet.TelnetConstants
TelnetConstants.ControlCode -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleSubnegotiation(int code, int[] values, TelnetSocket nvt, TelnetOutputStream out) booleaninitializeAs(TelnetOption option, CommunicationRole role, TelnetSocket origin, TelnetOutputStream out) Called after the use of a option has been confirmedstatic voidsendUpdate(TelnetSocket origin, int w, int h)
-
Field Details
-
CODE
public static final int CODE- See Also:
-
logger
-
-
Constructor Details
-
TelnetWindowSize
public TelnetWindowSize()
-
-
Method Details
-
initializeAs
public boolean initializeAs(TelnetOption option, CommunicationRole role, TelnetSocket origin, TelnetOutputStream out) Called after the use of a option has been confirmed- Overrides:
initializeAsin classTelnetSubnegotiationHandler- Returns:
- TRUE if a subnegotiation is needed
-
handleSubnegotiation
- Specified by:
handleSubnegotiationin classTelnetSubnegotiationHandler- See Also:
-
sendUpdate
- Throws:
IOException
-