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 willOption
java.io.IOException
void optionSubNegotiation(int option, byte[] params) throws java.io.IOException
sendOptionSubNegotiation
java.io.IOException
void receiveData(byte b)