public interface TelnetCommListener
Modifier and Type | Method and Description |
---|---|
void |
hostAcceptedDataStream(TelnetComm comm,
String terminalType)
The host accepted the options for the terminal
type and went into BINARY mode.
|
void |
onCommClosed(TelnetComm comm)
Called when the communication link is closed.
|
void |
onCommConnected(TelnetComm comm)
Called when the communication link is connected.
|
void |
onCommError(TelnetComm comm,
IOException e)
Called when the communication link is closed.
|
void |
onCommOpen(TelnetComm comm)
Called when the communication link is opened.
|
void |
onCommState(SocketCommNIO comm)
Called when the state changes.
|
void |
processInboundDataStream(TelnetComm comm,
byte[] inputBuf,
int pos,
int inputBufLen)
Processes the inbound 3270 or 5250 data stream.
|
void |
processInboundSCSDataStream(TelnetComm comm,
byte[] inputBuf,
int inputBufLen)
Processes the inbound 3270 printer data stream.
|
void |
processInboundSSCPLUDataStream(TelnetComm comm,
byte[] inputBuf,
int pos,
int inputBufLen)
Processes the inbound 3270 SSCP-LU data stream.
|
void |
processPrintEOJ(TelnetComm comm)
Processes a Print End-of-Job for 3270 printers.
|
void onCommOpen(TelnetComm comm)
comm
- The telnet communication instance.void onCommState(SocketCommNIO comm)
comm
- Socket communication instance.void onCommConnected(TelnetComm comm)
comm
- The telnet communication instance.void hostAcceptedDataStream(TelnetComm comm, String terminalType) throws IOException
comm
- The telnet communication instance.terminalType
- The terminal type accepted by the host at Telnet terminal negotiation.IOException
- If an I/O error occurs.void processInboundDataStream(TelnetComm comm, byte[] inputBuf, int pos, int inputBufLen) throws IOException
comm
- The telnet communication instance.inputBuf
- The input buffer.pos
- Start position in buffer.inputBufLen
- Length of input buffer.IOException
- If an I/O error occurs.void processInboundSCSDataStream(TelnetComm comm, byte[] inputBuf, int inputBufLen) throws IOException
comm
- The telnet communication instance.inputBuf
- The input buffer.inputBufLen
- Length of input buffer.IOException
- If an I/O error occurs.void processInboundSSCPLUDataStream(TelnetComm comm, byte[] inputBuf, int pos, int inputBufLen) throws IOException
comm
- The telnet communication instance.inputBuf
- The input buffer.pos
- Start position in buffer.inputBufLen
- Length of input buffer.IOException
- If an I/O error occurs.void processPrintEOJ(TelnetComm comm) throws IOException
comm
- The telnet communication instance.IOException
- If an I/O error occurs.void onCommError(TelnetComm comm, IOException e)
comm
- The telnet communication instance.e
- The exception.void onCommClosed(TelnetComm comm)
comm
- The telnet communication instance.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.