public class JMUDTelnetProtocolHandler extends TelnetProtocolHandler
ID| Constructor | Description |
|---|---|
JMUDTelnetProtocolHandler() |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.String |
getTerminalType() |
Get the current terminal type for TTYPE telnet option.
|
protected java.awt.Dimension |
getWindowSize() |
Get the current window size of the terminal for the
NAWS telnet option.
|
protected void |
notifyEndOfRecord() |
Generate an EOR (end of record) request.
|
protected void |
setLocalEcho(boolean echo) |
Set the local echo option of telnet.
|
void |
setOutputStream(java.io.DataOutputStream stream) |
Set the output stream that is to be used by the "write" method
|
protected void |
write(byte[] inByte) |
Send data to the remote host.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinputfeed, isMCCP2, isMXP, negotiate, reset, sendTelnetControl, setCR, setCRLF, setWindowSize, startup, transposeprotected java.lang.String getTerminalType()
TelnetProtocolHandlergetTerminalType in class TelnetProtocolHandlerprotected java.awt.Dimension getWindowSize()
TelnetProtocolHandlergetWindowSize in class TelnetProtocolHandlerprotected void setLocalEcho(boolean echo)
TelnetProtocolHandlersetLocalEcho in class TelnetProtocolHandlerecho - true for local echo, false for no local echoprotected void notifyEndOfRecord()
TelnetProtocolHandlernotifyEndOfRecord in class TelnetProtocolHandlerprotected void write(byte[] inByte)
throws java.io.IOException
TelnetProtocolHandlerwrite in class TelnetProtocolHandlerinByte - array of bytes to sendjava.io.IOExceptionpublic void setOutputStream(java.io.DataOutputStream stream)
stream -