sidnet.stack.std.mac.ieee802_15_4
Class macBeaconTxTimer

java.lang.Object
  extended by sidnet.stack.std.mac.ieee802_15_4.macBeaconTxTimer
All Implemented Interfaces:
JistAPI.Proxiable, JistAPI.Timeless, TimerInterface802_15_4

public class macBeaconTxTimer
extends java.lang.Object
implements TimerInterface802_15_4


Field Summary
protected  boolean busy
           
protected  boolean canceled
           
protected  double lastMomentOfPause
           
protected  boolean paused
           
protected  boolean started
           
protected  double stime
           
protected  boolean terminated
           
protected  double totalPauseTime
           
protected  double wtime
           
 
Constructor Summary
macBeaconTxTimer(Mac802_15_4 macEntity, Phy802_15_4 phyEntity, int id)
           
 
Method Summary
 boolean bussy()
           
 void cancel()
          Cancel timer
 boolean canceled()
           
 TimerInterface802_15_4 getProxy()
           
 void pause()
          Pause timer
 boolean paused()
           
 void resetTimer()
           
 void resume()
          Resume timer
 void start()
           
 void start(boolean reset, boolean fortx, double wt)
           
 void start(double time, boolean onlycap)
           
 void startTimer(double time)
          Start timer
 void startTimer(double wtime, MacMessage_802_15_4 p)
           
 void stopTimerr()
           
 void timeout(long currentTimerSequence)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

started

protected boolean started

busy

protected boolean busy

paused

protected boolean paused

canceled

protected boolean canceled

terminated

protected boolean terminated

stime

protected double stime

wtime

protected double wtime

lastMomentOfPause

protected double lastMomentOfPause

totalPauseTime

protected double totalPauseTime
Constructor Detail

macBeaconTxTimer

public macBeaconTxTimer(Mac802_15_4 macEntity,
                        Phy802_15_4 phyEntity,
                        int id)
Method Detail

start

public void start(double time,
                  boolean onlycap)
Specified by:
start in interface TimerInterface802_15_4

startTimer

public void startTimer(double wtime,
                       MacMessage_802_15_4 p)
Specified by:
startTimer in interface TimerInterface802_15_4

start

public void start()
Specified by:
start in interface TimerInterface802_15_4

start

public void start(boolean reset,
                  boolean fortx,
                  double wt)
Specified by:
start in interface TimerInterface802_15_4

timeout

public void timeout(long currentTimerSequence)
Specified by:
timeout in interface TimerInterface802_15_4

resetTimer

public void resetTimer()
Specified by:
resetTimer in interface TimerInterface802_15_4

startTimer

public void startTimer(double time)
Start timer

Specified by:
startTimer in interface TimerInterface802_15_4

cancel

public void cancel()
Cancel timer

Specified by:
cancel in interface TimerInterface802_15_4

canceled

public boolean canceled()
                 throws JistAPI.Continuation
Specified by:
canceled in interface TimerInterface802_15_4
Throws:
JistAPI.Continuation

bussy

public boolean bussy()
              throws JistAPI.Continuation
Specified by:
bussy in interface TimerInterface802_15_4
Throws:
JistAPI.Continuation

paused

public boolean paused()
               throws JistAPI.Continuation
Specified by:
paused in interface TimerInterface802_15_4
Throws:
JistAPI.Continuation

pause

public void pause()
Pause timer

Specified by:
pause in interface TimerInterface802_15_4

resume

public void resume()
Resume timer

Specified by:
resume in interface TimerInterface802_15_4

stopTimerr

public void stopTimerr()
Specified by:
stopTimerr in interface TimerInterface802_15_4

getProxy

public TimerInterface802_15_4 getProxy()