com.sentilla.platform.tmote
Class CollectionProtocol.CSender

java.lang.Object
  extended by com.sentilla.platform.tmote.DispatcherAction
      extended by com.sentilla.platform.tmote.Sender
          extended by com.sentilla.platform.tmote.CollectionProtocol.CSender
All Implemented Interfaces:
Sender, Action
Enclosing class:
CollectionProtocol

public static class CollectionProtocol.CSender
extends Sender

Sender for the collection protocol. Contains metadata about the number of retries a message should have and whether it was successfully sent.

See Also:
Sender

Field Summary
 byte seq
           
 
Fields inherited from class com.sentilla.platform.tmote.Sender
address, data, protocol
 
Fields inherited from class com.sentilla.platform.tmote.DispatcherAction
actionState
 
Fields inherited from interface com.sentilla.system.Action
DONE, ERROR, IDLE, PENDING
 
Constructor Summary
CollectionProtocol.CSender(CollectionProtocol c)
           
 
Method Summary
 void setAddress(Addressable addr)
          Sets the destination address.
 
Methods inherited from class com.sentilla.platform.tmote.Sender
send, setDone, setSend, subsubmit
 
Methods inherited from class com.sentilla.platform.tmote.DispatcherAction
block, block, cancel, getActionState, isDone, subcancel, submit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sentilla.system.Action
block, block, cancel, getActionState, isDone, submit
 

Field Detail

seq

public byte seq
Constructor Detail

CollectionProtocol.CSender

public CollectionProtocol.CSender(CollectionProtocol c)
Method Detail

setAddress

public void setAddress(Addressable addr)
Description copied from class: Sender
Sets the destination address. Any valid object implementing the Addressable interface can be set as the destination address. The protocols extending this class should throw an error if the address object is not supported.

Specified by:
setAddress in interface Sender
Specified by:
setAddress in class Sender
Parameters:
addr - object implementing Addressable interface to be used as address
See Also:
Addressable


Copyright © 2007 Sentilla Corporation. All Rights Reserved.