#include <CustodyTimer.h>
Public Member Functions | |
| CustodyTimer () | |
| CustodyTimer (const Bundle &bundle, unsigned int timeout, unsigned int attempt) | |
| ~CustodyTimer () | |
| unsigned int | getTime () const |
| const Bundle & | getBundle () const |
| unsigned int | getAttempt () const |
Private Attributes | |
| Bundle | m_bundle |
| unsigned int | m_time |
| unsigned int | m_attempt |
| dtn::core::CustodyTimer::CustodyTimer | ( | ) |
default constructor
| dtn::core::CustodyTimer::CustodyTimer | ( | const Bundle & | bundle, | |
| unsigned int | timeout, | |||
| unsigned int | attempt | |||
| ) |
constructor with a given bundle, timeout and attempt of retransmit.
Konstruktor
| dtn::core::CustodyTimer::~CustodyTimer | ( | ) |
destructor
| unsigned int dtn::core::CustodyTimer::getTime | ( | ) | const |
References m_time.
Referenced by dtn::core::CustodyManager::checkCustodyTimer(), and dtn::core::CustodyManager::setTimer().
| unsigned int dtn::core::CustodyTimer::getAttempt | ( | ) | const |
References m_attempt.
Bundle dtn::core::CustodyTimer::m_bundle [private] |
Referenced by getBundle().
unsigned int dtn::core::CustodyTimer::m_time [private] |
Referenced by getTime().
unsigned int dtn::core::CustodyTimer::m_attempt [private] |
Referenced by getAttempt().
1.5.6