com.sentilla.platform.tmote
Class MimeoMessage
java.lang.Object
com.sentilla.net.mimeo.MimeoImage
com.sentilla.net.mimeo.RamByteImage
com.sentilla.platform.tmote.MimeoMessage
public class MimeoMessage
- extends RamByteImage
Viral dissemination protocol for sending messages from a client application to a mote
network.
This is the mote mimeo message type that is used to receive messages. This class is not available to
application developers.
The mimeo dissemination protocol is a viral dissemination protocol. It will transmit messages to a network
and they will be maintained in that network until replaced. If a new mote enters the network after a message
has been disseminated, that message will be disseminated to the new mote. These messages constantly persist
in the network, and will continue being disseminated to new motes as long as the message exists in the
network. However, if a message is replaced by sending a new message, the old message can not be
guaranteed to be disseminated to new motes.
It can take up to 40 seconds per hop for a message to be disseminated with this protocol. Care should be taken
not to transmit message too quickly. If a message is replaced before the old message has reached all the motes
then there is a possibility that some motes may not received the old message.
The protocol does not make any guarantees about what order messages will be received in. It is possible that
messages will be received out of order.
The available payload for this protocol is 70 bytes.
This protocol supports the BroadcastAddress class and the Mac64Address class.
- See Also:
Protocol
,
Mac64Address
,
BroadcastAddress
Methods inherited from class com.sentilla.net.mimeo.MimeoImage |
compareVersion, getImgnum, getNumRequestsToComplete, getTimeMillisToComplete, getVersion, invalidate, isComplete, isPageComplete, newImageVersion, setAllComplete, setPageComplete, writePage |
IMAGE_TYPE
public static final int IMAGE_TYPE
- See Also:
- Constant Field Values
imgnum
public int imgnum
ds
public Dispatcher ds
id
public Addressable id
leds
public Leds leds
MimeoMessage
public MimeoMessage(int imgnum)
getFactory
public static MimeoImageFactory getFactory()
completed
protected void completed()
- Overrides:
completed
in class MimeoImage
Copyright © 2007 Sentilla Corporation. All Rights Reserved.