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, getInitLocal, getInitRemote, getOptionCode, setAcceptLocal, setAcceptRemote, setInitLocal, setInitRemote, startSubnegotiationLocal, startSubnegotiationRemotepublic 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.Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.