public interface TelnetInterface
Modifier and Type | Method and Description |
---|---|
ClientConnectionData |
getClientConnectionData()
Gets the client connection data.
|
String |
getHostAddress()
Returns the host destination address for the session.
|
int |
getHostPort()
Returns the Telnet port number.
|
int |
getSessionID()
Gets the session ID (A is 0, B is 1...).
|
void |
hostAcceptedDataStream(String terminalType)
The host accepted the options for the terminal
type and went into BINARY mode.
|
void |
processInboundDataStream(short[] inputBuf,
int pos,
int inputBufLen)
Processes the inbound 3270 or 5250 data stream.
|
void |
sessionDisconnected(Throwable exception)
The session has been disconnected due to link failure or if
the remote host disconnected due to e.g.
|
void hostAcceptedDataStream(String terminalType) throws IOException
IOException
- if an I/O error occurs.void processInboundDataStream(short[] inputBuf, int pos, int inputBufLen) throws IOException
IOException
- if an I/O error occurs.void sessionDisconnected(Throwable exception)
String getHostAddress()
int getHostPort()
int getSessionID()
ClientConnectionData getClientConnectionData()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.