ch.aplu.nxt
Interface TransceiverListener


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

received

void received(int state,
              int value)
Called when incoming data is received.

Parameters:
state - an integer state number sent with Transceiver.send()
value - an integer state label sent with Transceiver.send()

notifyConnection

void notifyConnection(boolean connected)
Called when the connection is established/lost.

Parameters:
connected - true, if the connection is established; false, if the connection is lost

isListening

void isListening()
Called when the client could not connect and a listening server is started.