org.apache.commons.net.telnet
public class WindowSizeOptionHandler extends TelnetOptionHandler
Since: 2.0
Version: $Id: WindowSizeOptionHandler.java 658520 2008-05-21 01:14:11Z sebb $
Field Summary | |
---|---|
protected static int | WINDOW_SIZE
Window size option
|
Constructor Summary | |
---|---|
WindowSizeOptionHandler(int nWidth, int nHeight, boolean initlocal, boolean initremote, boolean acceptlocal, boolean acceptremote)
Constructor for the WindowSizeOptionHandler. | |
WindowSizeOptionHandler(int nWidth, int nHeight)
Constructor for the WindowSizeOptionHandler. |
Parameters: nWidth - Window width. nHeight - Window Height 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: nWidth - Window width. nHeight - Window Height