|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rapplogic.xbee.api.XBeeResponse
public abstract class XBeeResponse
The super class of all XBee Receive packets
| Constructor Summary | |
|---|---|
XBeeResponse()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
void |
finish()
For internal use only. |
ApiId |
getApiId()
|
int |
getChecksum()
|
XBeePacketLength |
getLength()
|
int[] |
getPacketBytes()
Deprecated. Use getRawPacketBytes instead |
int[] |
getProcessedPacketBytes()
Returns an array of all bytes (after being un-escaped) in the packet except the start byte. |
int[] |
getRawPacketBytes()
Returns an array all bytes (as received off radio, including escape bytes) in packet except the start byte. |
int |
hashCode()
|
boolean |
isError()
Indicates an error occurred during the parsing of the packet. |
void |
setApiId(ApiId apiId)
|
void |
setChecksum(int checksum)
|
void |
setError(boolean error)
|
void |
setLength(XBeePacketLength length)
|
void |
setRawPacketBytes(int[] packetBytes)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XBeeResponse()
| Method Detail |
|---|
public XBeePacketLength getLength()
public void setLength(XBeePacketLength length)
public ApiId getApiId()
public void setApiId(ApiId apiId)
public int getChecksum()
public void setChecksum(int checksum)
public boolean isError()
public void setError(boolean error)
public int[] getPacketBytes()
public int[] getRawPacketBytes()
public int[] getProcessedPacketBytes()
public void setRawPacketBytes(int[] packetBytes)
public void finish()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||