#include <ExpirationTimer.h>
The timer is started when the bundle first arrives at the daemon, and is cancelled when the daemon removes it from the pending list.
Definition at line 32 of file ExpirationTimer.h.
Public Member Functions | |
ExpirationTimer (Bundle *bundle) | |
virtual | ~ExpirationTimer () |
Public Attributes | |
BundleRef | bundleref_ |
The reference to the bundle, which is public since. | |
Protected Member Functions | |
void | timeout (const struct timeval &now) |
dtn::ExpirationTimer::ExpirationTimer | ( | Bundle * | bundle | ) |
Definition at line 27 of file ExpirationTimer.cc.
virtual dtn::ExpirationTimer::~ExpirationTimer | ( | ) | [inline, virtual] |
Definition at line 36 of file ExpirationTimer.h.
void dtn::ExpirationTimer::timeout | ( | const struct timeval & | now | ) | [protected] |
Definition at line 33 of file ExpirationTimer.cc.
References bundleref_, and dtn::BundleDaemon::post_at_head().
The reference to the bundle, which is public since.
Definition at line 39 of file ExpirationTimer.h.
Referenced by timeout().