ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
|  Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

UnslottedAlohaMac Class Reference

#include <satlink.h>

Inheritance diagram for UnslottedAlohaMac:

SatMac Mac BiConnector NsObject TclObject Handler List of all members.

Public Member Functions

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

Protected Member Functions

virtual void backoff (double delay=0)

Protected Attributes

Packet * snd_pkt_
Packet * rcv_pkt_
MacState tx_state_
MacState rx_state_
int rtx_
int rtx_limit_
double mean_backoff_
double send_timeout_
double end_of_contention_

Constructor & Destructor Documentation

UnslottedAlohaMac::UnslottedAlohaMac (    ) 
 


Member Function Documentation

void UnslottedAlohaMac::backoff (  double    delay = 0 )  [protected, virtual]
 

void UnslottedAlohaMac::end_of_contention (  Packet *    p ) 
 

void UnslottedAlohaMac::recv_timer (    )  [virtual]
 

Reimplemented from SatMac.

void UnslottedAlohaMac::send_timer (    )  [virtual]
 

Reimplemented from SatMac.

void UnslottedAlohaMac::sendDown (  Packet *    p )  [virtual]
 

Reimplemented from SatMac.

void UnslottedAlohaMac::sendUp (  Packet *    p )  [virtual]
 

Reimplemented from SatMac.


Member Data Documentation

double UnslottedAlohaMac::end_of_contention_ [protected]
 

double UnslottedAlohaMac::mean_backoff_ [protected]
 

Packet* UnslottedAlohaMac::rcv_pkt_ [protected]
 

int UnslottedAlohaMac::rtx_ [protected]
 

int UnslottedAlohaMac::rtx_limit_ [protected]
 

MacState UnslottedAlohaMac::rx_state_ [protected]
 

double UnslottedAlohaMac::send_timeout_ [protected]
 

Packet* UnslottedAlohaMac::snd_pkt_ [protected]
 

MacState UnslottedAlohaMac::tx_state_ [protected]
 


The documentation for this class was generated from the following files:
This document is generated by doxygen.