|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransportListener
An asynchronous listener of commands
| Method Summary | |
|---|---|
void |
onRefill(Transport transport)
transport can now accept more commands for transmission. |
void |
onTransportCommand(Transport transport,
java.lang.Object command)
called to process a command |
void |
onTransportConnected(Transport transport)
The transport has been connected. |
void |
onTransportDisconnected(Transport transport)
The transport has suffered a disconnection from which it hopes to recover |
void |
onTransportFailure(Transport transport,
java.io.IOException error)
An unrecoverable exception has occured on the transport |
| Method Detail |
|---|
void onTransportCommand(Transport transport,
java.lang.Object command)
command - void onRefill(Transport transport)
void onTransportFailure(Transport transport,
java.io.IOException error)
error - void onTransportConnected(Transport transport)
void onTransportDisconnected(Transport transport)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||