com.rapplogic.xbee.api
Class XBeeRequest

java.lang.Object
  extended by com.rapplogic.xbee.api.XBeeRequest
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AtCommand, TxRequestBase, ZNetTxRequest

public abstract class XBeeRequest
extends java.lang.Object
implements java.io.Serializable

The super class of all XBee transmit packets. Constructs frame data portion of an XBee packet

Author:
andrew
See Also:
Serialized Form

Field Summary
static int DEFAULT_FRAME_ID
           
static int NO_RESPONSE_FRAME_ID
           
 
Constructor Summary
XBeeRequest()
           
 
Method Summary
 ApiId getApiId()
           
abstract  int[] getFrameData()
           
 int getFrameId()
           
 XBeePacket getXBeePacket()
           
 void setApiId(ApiId apiId)
           
 void setFrameId(int frameId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_FRAME_ID

public static final int DEFAULT_FRAME_ID
See Also:
Constant Field Values

NO_RESPONSE_FRAME_ID

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

XBeeRequest

public XBeeRequest()
Method Detail

getXBeePacket

public XBeePacket getXBeePacket()

getFrameData

public abstract int[] getFrameData()

getApiId

public ApiId getApiId()

getFrameId

public int getFrameId()

toString

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

setApiId

public void setApiId(ApiId apiId)

setFrameId

public void setFrameId(int frameId)