com.sentilla.net
Class RadioMacAddressMessage

java.lang.Object
  extended by com.sentilla.net.RadioMacAddressMessage
All Implemented Interfaces:
MoteDestinationAddressMessage, Serializable

public class RadioMacAddressMessage
extends Object
implements MoteDestinationAddressMessage, Serializable

Message class for specifying the mote destination address.

This class is used as a message class for the lowest level communication interfaces. It encapsulates data and a long address to facilitate addressing of motes.

See Also:
Addressable, Mac64Address, MoteDestinationAddressMessage, Serialized Form

Field Summary
 long addr
          Mote MAC address represented as a long.
 Object data
          Data to transmit.
 
Constructor Summary
RadioMacAddressMessage()
           
 
Method Summary
 Mac64Address getDestinationMacAddress()
          Returns the destination Mac64Address address of a message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addr

public long addr
Mote MAC address represented as a long.


data

public Object data
Data to transmit.

Constructor Detail

RadioMacAddressMessage

public RadioMacAddressMessage()
Method Detail

getDestinationMacAddress

public Mac64Address getDestinationMacAddress()
Description copied from interface: MoteDestinationAddressMessage
Returns the destination Mac64Address address of a message.

Specified by:
getDestinationMacAddress in interface MoteDestinationAddressMessage
Returns:
the destination Mac64Address


Copyright © 2007 Sentilla Corporation. All Rights Reserved.