public class TerminalType extends TelnetOption
Constructor and Description |
---|
TerminalType()
Creates a new TerminalType instance.
|
TerminalType(java.lang.String terminalType)
Creates a new TerminalType instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTerminalType()
Gets the terminal type.
|
void |
readSubnegotiation(java.io.InputStream in)
Reads subnegotiation data for this TelnetOption
|
void |
setTerminalType(java.lang.String terminalType)
Sets the terminal type.
|
void |
writeSubnegotiation(java.io.OutputStream out)
Writes subnegotiation data for this TelnetOption.
|
getOptionCode, getOptionName
public TerminalType()
public TerminalType(java.lang.String terminalType)
terminalType
- the terminal typepublic void writeSubnegotiation(java.io.OutputStream out) throws java.io.IOException
writeSubnegotiation
in class TelnetOption
out
- the OutputStream to write data to.java.io.IOException
- if an I/O related error occurs.public void readSubnegotiation(java.io.InputStream in) throws java.io.IOException
readSubnegotiation
in class TelnetOption
in
- the InputStream to read fromjava.io.IOException
- if an I/O related error occurspublic java.lang.String getTerminalType()
public void setTerminalType(java.lang.String terminalType)
terminalType
- the terminal typeCopyright © JSCAPE LLC. 1999-2021. All Rights Reserved