IBR-DTNSuite
0.12
|
#include <StaticRegexRoute.h>
Public Member Functions | |
StaticRegexRoute (const std::string ®ex, const dtn::data::EID &dest) | |
virtual | ~StaticRegexRoute () |
bool | match (const dtn::data::EID &eid) const |
const dtn::data::EID & | getDestination () const |
const dtn::data::Timestamp & | getExpiration () const |
void | raiseExpired () const |
bool | equals (const StaticRoute &route) const |
StaticRegexRoute (const StaticRegexRoute &obj) | |
StaticRegexRoute & | operator= (const StaticRegexRoute &obj) |
const std::string | toString () const |
Public Member Functions inherited from dtn::routing::StaticRoute | |
virtual | ~StaticRoute ()=0 |
Definition at line 18 of file StaticRegexRoute.h.
dtn::routing::StaticRegexRoute::StaticRegexRoute | ( | const std::string & | regex, |
const dtn::data::EID & | dest | ||
) |
Definition at line 17 of file StaticRegexRoute.cpp.
References ibrcommon::LogLevel::error, IBRCOMMON_LOGGER_ENDL, and IBRCOMMON_LOGGER_TAG.
|
virtual |
Definition at line 27 of file StaticRegexRoute.cpp.
dtn::routing::StaticRegexRoute::StaticRegexRoute | ( | const StaticRegexRoute & | obj) |
copy and assignment operators
obj | The object to copy |
Definition at line 34 of file StaticRegexRoute.cpp.
|
virtual |
Compare this static route with another one
Implements dtn::routing::StaticRoute.
Definition at line 116 of file StaticRegexRoute.cpp.
|
virtual |
Implements dtn::routing::StaticRoute.
Definition at line 94 of file StaticRegexRoute.cpp.
|
virtual |
Implements dtn::routing::StaticRoute.
Definition at line 106 of file StaticRegexRoute.cpp.
|
virtual |
Implements dtn::routing::StaticRoute.
Definition at line 66 of file StaticRegexRoute.cpp.
References ibrcommon::LogLevel::error, dtn::data::EID::getString(), IBRCOMMON_LOGGER_ENDL, and IBRCOMMON_LOGGER_TAG.
StaticRegexRoute & dtn::routing::StaticRegexRoute::operator= | ( | const StaticRegexRoute & | obj) |
Definition at line 43 of file StaticRegexRoute.cpp.
References ibrcommon::LogLevel::error, IBRCOMMON_LOGGER_ENDL, and IBRCOMMON_LOGGER_TAG.
|
virtual |
Raise the StaticRouteChangeEvent for expiration
Implements dtn::routing::StaticRoute.
Definition at line 111 of file StaticRegexRoute.cpp.
References dtn::routing::StaticRouteChangeEvent::raiseEvent(), and dtn::routing::StaticRouteChangeEvent::ROUTE_EXPIRED.
|
virtual |
Describe this route as a one-line-string.
Implements dtn::routing::StaticRoute.
Definition at line 99 of file StaticRegexRoute.cpp.
References dtn::data::EID::getString().