sidnet.stack.std.mac.ieee802_15_4
Class CsmaCA802_15_4

java.lang.Object
  extended by sidnet.stack.std.mac.ieee802_15_4.CsmaCA802_15_4
All Implemented Interfaces:
CsmaCA802_15_4Interface

public class CsmaCA802_15_4
extends java.lang.Object
implements CsmaCA802_15_4Interface


Field Summary
 Mac802_15_4Impl mac
           
 Mac802_15_4 macEntity
           
 Phy802_15_4 phyEntity
           
 
Constructor Summary
CsmaCA802_15_4(Phy802_15_4 p, Mac802_15_4Impl m, MacAddress localAddr)
           
 
Method Summary
protected  double adjustTime(double wtime)
           
 void backoffHandler()
           
 void bcnOtherHandler()
           
protected  void cancel()
           
protected  boolean canProceed(double wtime, boolean afterCCA)
           
protected  void CCA_confirm(PHYenum status)
           
 void deferCCAHandler()
           
protected  void newBeacon(CHAR trx)
           
protected  void reset()
           
protected  void RX_ON_confirm(PHYenum status)
           
protected  void start(boolean firsttime, MacMessage_802_15_4 pkt, boolean ackreq)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

phyEntity

public Phy802_15_4 phyEntity

mac

public Mac802_15_4Impl mac

macEntity

public Mac802_15_4 macEntity
Constructor Detail

CsmaCA802_15_4

public CsmaCA802_15_4(Phy802_15_4 p,
                      Mac802_15_4Impl m,
                      MacAddress localAddr)
Method Detail

reset

protected void reset()

adjustTime

protected double adjustTime(double wtime)

canProceed

protected boolean canProceed(double wtime,
                             boolean afterCCA)

newBeacon

protected void newBeacon(CHAR trx)

start

protected void start(boolean firsttime,
                     MacMessage_802_15_4 pkt,
                     boolean ackreq)

cancel

protected void cancel()

backoffHandler

public void backoffHandler()
Specified by:
backoffHandler in interface CsmaCA802_15_4Interface

RX_ON_confirm

protected void RX_ON_confirm(PHYenum status)

bcnOtherHandler

public void bcnOtherHandler()
Specified by:
bcnOtherHandler in interface CsmaCA802_15_4Interface

deferCCAHandler

public void deferCCAHandler()
Specified by:
deferCCAHandler in interface CsmaCA802_15_4Interface

CCA_confirm

protected void CCA_confirm(PHYenum status)