|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransceiverListener
Declarations of notification methods called from the class Transceiver.
Method Summary | |
---|---|
void |
isListening()
Called when the client could not connect and a listening server is started. |
void |
notifyConnection(boolean connected)
Called when the connection is established/lost. |
void |
received(int state,
int value)
Called when incoming data is received. |
Method Detail |
---|
void received(int state, int value)
state
- an integer state number sent with Transceiver.send()value
- an integer state label sent with Transceiver.send()void notifyConnection(boolean connected)
connected
- true, if the connection is established; false, if the connection is lostvoid isListening()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |