com.rapplogic.xbee.api.wpan
Class RxResponse

java.lang.Object
  extended by com.rapplogic.xbee.api.XBeeResponse
      extended by com.rapplogic.xbee.api.wpan.RxBaseResponse
          extended by com.rapplogic.xbee.api.wpan.RxResponse
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
RxResponse16, RxResponse64

public class RxResponse
extends RxBaseResponse

See Also:
Serialized Form

Constructor Summary
RxResponse()
           
 
Method Summary
 int[] getData()
           
 void parse(IPacketParser parser)
          All subclasses must implement to parse the packet from the input stream.
 void setData(int[] data)
           
 java.lang.String toString()
           
 
Methods inherited from class com.rapplogic.xbee.api.wpan.RxBaseResponse
getOptions, getRssi, getSourceAddress, isAddressBroadcast, isPanBroadcast, parseBase, setOptions, setRssi, setSourceAddress
 
Methods inherited from class com.rapplogic.xbee.api.XBeeResponse
equals, finish, getApiId, getChecksum, getLength, getPacketBytes, getProcessedPacketBytes, getRawPacketBytes, hashCode, isError, setApiId, setChecksum, setError, setLength, setRawPacketBytes
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RxResponse

public RxResponse()
Method Detail

getData

public int[] getData()

setData

public void setData(int[] data)

parse

public void parse(IPacketParser parser)
           throws java.io.IOException
Description copied from class: XBeeResponse
All subclasses must implement to parse the packet from the input stream. The subclass must parse all bytes in the packet starting after the API_ID, and up to but not including the checksum. Reading either more or less bytes that expected will result in an error.

Specified by:
parse in class XBeeResponse
Throws:
java.io.IOException

toString

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