SimpleOptionHandlerpublic class SimpleOptionHandler extends TelnetOptionHandler Simple option handler that can be used for options
that don't require subnegotiation.
|
Constructors Summary |
---|
public SimpleOptionHandler(int optcode, boolean initlocal, boolean initremote, boolean acceptlocal, boolean acceptremote)Constructor for the SimpleOptionHandler. Allows defining desired
initial setting for local/remote activation of this option and
behaviour in case a local/remote activation request for this
option is received.
super(optcode, initlocal, initremote,
acceptlocal, acceptremote);
| public SimpleOptionHandler(int optcode)Constructor for the SimpleOptionHandler. Initial and accept
behaviour flags are set to false
super(optcode, false, false, false, false);
|
Methods Summary |
---|
public int[] | answerSubnegotiation(int[] suboptionData, int suboptionLength)Implements the abstract method of TelnetOptionHandler.
return null;
| public int[] | startSubnegotiationLocal()Implements the abstract method of TelnetOptionHandler.
return null;
| public int[] | startSubnegotiationRemote()Implements the abstract method of TelnetOptionHandler.
return null;
|
|