class <Mac/Sat/UnslottedAloha> UnslottedAlohaMac : public SatMac


Inheritance:


Public Methods

void end_of_contention(Packet* p)
void recv_timer()
void send_timer()
void sendDown(Packet* p)
void sendUp(Packet *p)
UnslottedAlohaMac()

Protected Fields

double end_of_contention_
Saves time that contention will be over
double mean_backoff_
Set in OTcl-- mean backoff time
Packet* rcv_pkt_
stores packet currently being recieved
int rtx_
of retransmissions so far
int rtx_limit_
Set in OTcl-- retransmission limit
MacState rx_state_
receive state (RECV or IDLE)
double send_timeout_
Set in OTcl-- time out after this interval
Packet* snd_pkt_
stores packet currently being sent
MacState tx_state_
transmit state (SEND or COLL or IDLE)

Protected Methods

virtual void backoff(double delay=0)

Documentation

UnslottedAlohaMac()

void sendDown(Packet* p)

void sendUp(Packet *p)

void send_timer()

void recv_timer()

void end_of_contention(Packet* p)

virtual void backoff(double delay=0)

Packet* snd_pkt_
stores packet currently being sent

Packet* rcv_pkt_
stores packet currently being recieved

MacState tx_state_
transmit state (SEND or COLL or IDLE)

MacState rx_state_
receive state (RECV or IDLE)

int rtx_
of retransmissions so far

int rtx_limit_
Set in OTcl-- retransmission limit

double mean_backoff_
Set in OTcl-- mean backoff time

double send_timeout_
Set in OTcl-- time out after this interval

double end_of_contention_
Saves time that contention will be over


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de