public interface TelnetHost| Modifier and Type | Method and Description |
|---|---|
void | close()Closes the current connection. |
void | enableNewEnviron(int codepage, String kbdType)Enables the Telnet NEW-ENVIRON TN5250E negotiation. |
String | getDeviceName()Gets the device name of the session. |
void | initialize(TelnetInterface i, String terminalList)Initializes the Telnet session after the construction for a 3270/5250 terminal type list. |
boolean | isSecured()Checks if the communication is secured with e.g. |
void | open(String host, int port)Opens the connection to the host at a specified port number. |
boolean | sendSpecialKey(int param)Sends TN3270E special key (param=0 is Attention and param=1 is SysReq). |
void | sendSSCPLUData(short[] data, int length)Sends SSCP LU data for a TN3270E session. |
void | setAssociatePrinterWithTerminal(String terminalName)Sets associate printer for a printer session. |
void | write(short[] buf, int n)Writes an amount of bytes. |
void enableNewEnviron(int codepage,
String kbdType)void initialize(TelnetInterface i, String terminalList) throws IOException
IOException - if an I/O error occurs.void open(String host, int port) throws IOException
IOException - if an I/O error occurs.void close()
void write(short[] buf,
int n)
throws IOExceptionIOException - if an I/O error occurs.String getDeviceName()
void setAssociatePrinterWithTerminal(String terminalName)
boolean sendSpecialKey(int param)
throws IOExceptionIOException - if an I/O error occurs.void sendSSCPLUData(short[] data,
int length)
throws IOExceptionIOException - if an I/O error occurs.boolean isSecured()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.