org.apache.commons.net.telnet
public class SimpleOptionHandler extends TelnetOptionHandler
Constructor Summary | |
---|---|
SimpleOptionHandler(int optcode, boolean initlocal, boolean initremote, boolean acceptlocal, boolean acceptremote)
Constructor for the SimpleOptionHandler. | |
SimpleOptionHandler(int optcode)
Constructor for the SimpleOptionHandler. |
Parameters: 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.
Parameters: optcode - option code.