edu.uiuc.cs.seclab.modem.xbee
Class XBee64Address

java.lang.Object
  extended by edu.uiuc.cs.seclab.modem.xbee.XBeeAddress
      extended by edu.uiuc.cs.seclab.modem.xbee.XBee64Address
All Implemented Interfaces:
java.lang.Comparable<XBeeAddress>

public class XBee64Address
extends XBeeAddress


Field Summary
static int ADDR_LEN
           
static XBee64Address ZB_BCAST_ADDR
           
 
Fields inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeAddress
raw
 
Constructor Summary
XBee64Address(byte[] raw)
           
XBee64Address(byte[] src, int offset)
           
XBee64Address(XBeeAddress addr)
          Expand an existing address to 64 bits
 
Method Summary
private static byte[] expandRaw(byte[] orig)
           
 int getAddrLen()
           
 
Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeAddress
compareTo, equals, getRaw, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ADDR_LEN

public static final int ADDR_LEN
See Also:
Constant Field Values

ZB_BCAST_ADDR

public static final XBee64Address ZB_BCAST_ADDR
Constructor Detail

XBee64Address

public XBee64Address(byte[] raw)

XBee64Address

public XBee64Address(byte[] src,
                     int offset)

XBee64Address

public XBee64Address(XBeeAddress addr)
Expand an existing address to 64 bits

Throws:
ModemException
Method Detail

expandRaw

private static final byte[] expandRaw(byte[] orig)

getAddrLen

public int getAddrLen()
Specified by:
getAddrLen in class XBeeAddress