edu.uiuc.cs.seclab.modem.xbee
Class XBee2BindingRxPacketImpl
java.lang.Object
edu.uiuc.cs.seclab.modem.xbee.XBeeApiPacketImpl
edu.uiuc.cs.seclab.modem.xbee.XBee2BindingRxPacketImpl
public class XBee2BindingRxPacketImpl
- extends XBeeApiPacketImpl
Received packet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bindingTblIdx
protected byte bindingTblIdx
clusterId
protected byte clusterId
CMD_ID
public static final byte CMD_ID
- See Also:
- Constant Field Values
data
protected java.lang.String data
destEndpoint
protected byte destEndpoint
XBee2BindingRxPacketImpl
public XBee2BindingRxPacketImpl()
XBee2BindingRxPacketImpl
public XBee2BindingRxPacketImpl(byte bindingTblIdx_,
byte destEndpoint_,
byte clusterId_,
java.lang.String data_)
throws ModemException
- Throws:
ModemException
acceptVisitor
public void acceptVisitor(XBeeApiPacketVisitor visitor)
- Specified by:
acceptVisitor in class XBeeApiPacketImpl
getBindingTblIdx
public byte getBindingTblIdx()
getClusterId
public byte getClusterId()
getCmdId
public byte getCmdId()
- Specified by:
getCmdId in class XBeeApiPacketImpl
getDestEndpoint
public byte getDestEndpoint()
getRxData
public java.lang.String getRxData()
localGetData
protected void localGetData(java.lang.StringBuilder sb)
- Description copied from class:
XBeeApiPacketImpl
- Produce a data blob for the inner part of an API packet
- Specified by:
localGetData in class XBeeApiPacketImpl
parse
public void parse(byte cmdId,
byte[] bytes,
int offset,
int len)
throws ModemException
- Description copied from class:
XBeeApiPacketImpl
- Parse the inner part of an API packet
- Specified by:
parse in class XBeeApiPacketImpl
- Throws:
ModemException
toString
public java.lang.String toString()
- Overrides:
toString in class XBeeApiPacketImpl