edu.uiuc.cs.seclab.modem.xbee
Class XBeeTxTxn

java.lang.Object
  extended by edu.uiuc.cs.seclab.modem.xbee.XBeeTxn
      extended by edu.uiuc.cs.seclab.modem.xbee.XBeeTxTxn

public class XBeeTxTxn
extends XBeeTxn

XBee transmission transaction


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeTxn
XBeeTxn.RespTimer
 
Field Summary
static int DEFL_RETRIES
           
static int DEFL_TIMEOUT
           
protected  XBeeModem mdm
           
protected  XBeeTxPacket pkt
           
protected  int retries
           
protected  boolean successful
           
 
Fields inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeTxn
completed, endTm, frameId, startTm, timer
 
Constructor Summary
XBeeTxTxn(XBeeTxPacket pkt_)
           
 
Method Summary
 void addResp(XBeeTxStatPktImpl resp)
           
 int exec(XBeeModem mdm_)
          Execute this transaction on the provided modem.
 boolean isSuccessful()
           
 
Methods inherited from class edu.uiuc.cs.seclab.modem.xbee.XBeeTxn
completeTxnImmed, getDuration, getFrameId, isCompleted, setFrameId, toString, waitForCompletion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFL_RETRIES

public static final int DEFL_RETRIES
See Also:
Constant Field Values

DEFL_TIMEOUT

public static final int DEFL_TIMEOUT
See Also:
Constant Field Values

mdm

protected XBeeModem mdm

pkt

protected XBeeTxPacket pkt

retries

protected int retries

successful

protected boolean successful
Constructor Detail

XBeeTxTxn

public XBeeTxTxn(XBeeTxPacket pkt_)
Method Detail

addResp

public void addResp(XBeeTxStatPktImpl resp)
             throws ModemException
Specified by:
addResp in class XBeeTxn
Throws:
ModemException

exec

public int exec(XBeeModem mdm_)
         throws ModemException
Description copied from class: XBeeTxn
Execute this transaction on the provided modem.

Specified by:
exec in class XBeeTxn
Throws:
ModemException

isSuccessful

public boolean isSuccessful()