public class SimpleOptionHandler extends TelnetOptionHandler
Constructor and Description |
---|
SimpleOptionHandler(int optcode)
Constructor for the SimpleOptionHandler.
|
SimpleOptionHandler(int optcode,
boolean initlocal,
boolean initremote,
boolean acceptlocal,
boolean acceptremote)
Constructor for the SimpleOptionHandler.
|
answerSubnegotiation, getAcceptLocal, getAcceptRemote, getDo, getInitLocal, getInitRemote, getOptionCode, getWill, setAcceptLocal, setAcceptRemote, setDo, setInitLocal, setInitRemote, setWill, startSubnegotiationLocal, startSubnegotiationRemote
public SimpleOptionHandler(int optcode, boolean initlocal, boolean initremote, boolean acceptlocal, boolean acceptremote)
optcode
- - option code.initlocal
- - if set to true, a WILL is sent upon connection.initremote
- - if set to true, a DO is sent upon connection.acceptlocal
- - if set to true, any DO request is accepted.acceptremote
- - if set to true, any WILL request is accepted.public SimpleOptionHandler(int optcode)
optcode
- - option code.