DESERT 3.5.1
|
#include <uwpolling_SINK.h>
Public Member Functions | |
BackOffTimer (Uwpolling_SINK *m) | |
virtual | ~BackOffTimer () |
![]() | |
Uwpolling_SINK_Timer (Uwpolling_SINK *m) | |
virtual | ~Uwpolling_SINK_Timer () |
virtual void | freeze () |
virtual void | unFreeze () |
virtual void | stop () |
virtual void | schedule (double val) |
bool | isIdle () |
bool | isRunning () |
bool | isExpired () |
bool | isFrozen () |
bool | isActive () |
void | resetCounter () |
void | incrCounter () |
int | getCounter () |
double | getDuration () |
Protected Member Functions | |
virtual void | expire (Event *e) |
Additional Inherited Members | |
![]() | |
double | start_time |
double | left_duration |
int | counter |
Uwpolling_SINK *UWPOLLING_TIMER_STATUS | timer_status |
Class (inherited from Uwpolling_SINK_Timer) used to handle the time of backoff of the node before transmitting the PROBE packet.
After receiving a PROBE the node set this timer. When the timer expire, the node transmit the PROBE
Definition at line 335 of file uwpolling_SINK.h.
|
inline |
Conscructor of ProbeTimer class.
Uwpolling_SINK* | pointer to an object of type Uwpolling_SINK |
Definition at line 342 of file uwpolling_SINK.h.
|
inlinevirtual |
Destructor of DataTimer class.
Definition at line 350 of file uwpolling_SINK.h.
|
protectedvirtual |
Method call when the timer expire.
Eevent* | pointer to an object of type Event |
Definition at line 194 of file uwpolling_SINK.cpp.