com.buglabs.bug.module.bugbee.pub
Class IEEEAddress

java.lang.Object
  extended by com.buglabs.bug.module.bugbee.pub.IEEEAddress

public class IEEEAddress
extends java.lang.Object

A wrapper for the 64-bit IEEE Address of a ZigBee node.


Field Summary
static int LENGTH
           
 
Constructor Summary
IEEEAddress(byte[] address)
           
IEEEAddress(byte[] address, int addressLen)
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LENGTH

public static final int LENGTH
See Also:
Constant Field Values
Constructor Detail

IEEEAddress

public IEEEAddress(byte[] address)
            throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

IEEEAddress

public IEEEAddress(byte[] address,
                   int addressLen)
            throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

getBytes

public final byte[] getBytes()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object