com.mindbright.net.telnet
public interface TelnetEventHandler
| Modifier and Type | Method and Description |
|---|---|
void |
interpretAsCommand(int cmd)
Called to handle some telnet protocol commands from the server.
|
boolean |
optionNegotiation(int option,
int request)
Called to handle option negotiation packets from the server.
|
void |
optionSubNegotiation(int option,
byte[] params)
Called to handle option negotiation packets from the server.
|
void |
receiveData(byte b)
Handle a byte received from the server.
|
void interpretAsCommand(int cmd)
boolean optionNegotiation(int option,
int request)
throws java.io.IOException
doOption and willOptionjava.io.IOExceptionvoid optionSubNegotiation(int option,
byte[] params)
throws java.io.IOException
sendOptionSubNegotiationjava.io.IOExceptionvoid receiveData(byte b)