|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TelnetEventHandler
Interface for class which wants to receive data from a telnet session.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |