Method Summary |
|
protected void | _connectAction_() Called upon connection. |
final synchronized void | _processAYTResponse() |
void | _processDo(int option) Processes a DO request. |
void | _processDont(int option) Processes a DONT request. |
void | _processSuboption(int suboption, int suboptionLength) Processes a suboption negotiation. |
void | _processWill(int option) Processes a WILL request. |
void | _processWont(int option) Processes a WONT request. |
void | _registerSpyStream(OutputStream spystream) Registers an OutputStream for spying what's going on in
the Telnet session. |
final synchronized void | _requestDo(int option) Requests a DO. |
final synchronized void | _requestDont(int option) Requests a DONT. |
final synchronized void | _requestWill(int option) Requests a WILL. |
final synchronized void | _requestWont(int option) Requests a WONT. |
boolean | _requestedDo(int option) Looks for the state of the option. |
boolean | _requestedDont(int option) Looks for the state of the option. |
boolean | _requestedWill(int option) Looks for the state of the option. |
boolean | _requestedWont(int option) Looks for the state of the option. |
final boolean | _sendAYT(long timeout) Sends an Are You There sequence and waits for the result. |
final synchronized void | _sendByte(int b) Sends a byte. |
final synchronized void | _sendDo(int option) Sends a DO. |
final synchronized void | _sendDont(int option) Sends a DONT. |
final synchronized void | _sendSubnegotiation(int subn) Manages subnegotiation for Terminal Type. |
final synchronized void | _sendTerminalType() Sends terminal type information. |
final synchronized void | _sendWill(int option) Sends a WILL. |
final synchronized void | _sendWont(int option) Sends a WONT. |
void | _setDo(int option) Sets the state of the option. |
void | _setDont(int option) Sets the state of the option. |
void | _setWantDo(int option) Sets the state of the option. |
void | _setWantDont(int option) Sets the state of the option. |
void | _setWantWill(int option) Sets the state of the option. |
void | _setWantWont(int option) Sets the state of the option. |
void | _setWill(int option) Sets the state of the option. |
void | _setWont(int option) Sets the state of the option. |
void | _spyRead(int ch) Sends a read char on the spy stream. |
void | _spyWrite(int ch) Sends a written char on the spy stream. |
boolean | _stateIsDo(int option) Looks for the state of the option. |
boolean | _stateIsDont(int option) Looks for the state of the option. |
boolean | _stateIsWill(int option) Looks for the state of the option. |
boolean | _stateIsWont(int option) Looks for the state of the option. |
void | _stopSpyStream() Stops spying this Telnet. |
void | addOptionHandler(TelnetOptionHandler opthand) Registers a new TelnetOptionHandler for this telnet to use. |
void | deleteOptionHandler(int optcode) Unregisters a TelnetOptionHandler. |
public void | registerNotifHandler(TelnetNotificationHandler notifhand) Registers a notification handler to which will be sent
notifications of received telnet option negotiation commands. |
public void | unregisterNotifHandler() Unregisters the current notification handler. |