com.sentilla.platform.cmote
Class ClientRadioProtocol.Receiver

java.lang.Object
  extended by com.sentilla.platform.cmote.DispatcherAction
      extended by com.sentilla.platform.cmote.Receiver
          extended by com.sentilla.platform.cmote.ClientRadioProtocol.Receiver
All Implemented Interfaces:
Receiver, Action
Enclosing class:
ClientRadioProtocol

public static class ClientRadioProtocol.Receiver
extends Receiver

Provides receiver class for the client to receive from the host server.

See Also:
Receiver

Field Summary
 long timestamp
           
 
Fields inherited from class com.sentilla.platform.cmote.Receiver
data, destAddress, msgClass, nextData, nextReceiver, sourceAddress
 
Fields inherited from class com.sentilla.platform.cmote.DispatcherAction
actionState
 
Fields inherited from interface com.sentilla.system.Action
DONE, ERROR, IDLE, PENDING
 
Constructor Summary
ClientRadioProtocol.Receiver(ClientRadioProtocol proto)
          Initializes the receiver.
ClientRadioProtocol.Receiver(ClientRadioProtocol protocol, Class<ByteBufferMessage> name)
           
 
Method Summary
 Object receive()
          Overrides the base class receive() method to provide interface to the host server.
 
Methods inherited from class com.sentilla.platform.cmote.Receiver
addMetadata, getData, getDestAddress, getMetadata, getSourceAddress, setReceive, signalReceive, subcancel, subsubmit
 
Methods inherited from class com.sentilla.platform.cmote.DispatcherAction
block, block, cancel, getActionState, isDone, submit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sentilla.system.Action
block, block, cancel, getActionState, isDone, submit
 

Field Detail

timestamp

public long timestamp
Constructor Detail

ClientRadioProtocol.Receiver

public ClientRadioProtocol.Receiver(ClientRadioProtocol proto)
Initializes the receiver.

See Also:
Receiver

ClientRadioProtocol.Receiver

public ClientRadioProtocol.Receiver(ClientRadioProtocol protocol,
                                    Class<ByteBufferMessage> name)
Method Detail

receive

public Object receive()
Overrides the base class receive() method to provide interface to the host server.

Specified by:
receive in interface Receiver
Overrides:
receive in class Receiver
Returns:
object that is received by the mote
See Also:
Receiver


Copyright © 2007 Sentilla Corporation. All Rights Reserved.