IBR-DTNSuite  0.8
dtn::core Namespace Reference

Classes

class  AbstractWorker
class  BundleCore
class  BundleEvent
class  BundleExpiredEvent
class  BundleGeneratedEvent
class  BundlePurgeEvent
class  CustodyEvent
class  Event
class  EventDebugger
class  EventReceiver
class  EventException
class  NoSuchEventException
class  NoReceiverFoundException
class  EventSwitch
class  FragmentManager
class  GlobalEvent
class  Node
class  NodeEvent
class  StatusReportGenerator
class  TimeEvent
class  WallClock

Enumerations

enum  EventBundleAction {
  BUNDLE_DELETED = 0, BUNDLE_CUSTODY_ACCEPTED = 1, BUNDLE_FORWARDED = 2, BUNDLE_DELIVERED = 3,
  BUNDLE_RECEIVED = 4, BUNDLE_STORED = 5
}
enum  EventCustodyAction { CUSTODY_REJECT = 0, CUSTODY_ACCEPT = 1 }
enum  EventNodeAction { NODE_UNAVAILABLE = 0, NODE_AVAILABLE = 1, NODE_INFO_UPDATED = 2 }
enum  TimeEventAction { TIME_SECOND_TICK = 0 }

Functions

std::ostream & operator<< (std::ostream &stream, const Node::URI &u)
std::ostream & operator<< (std::ostream &stream, const Node::Attribute &a)
bool compare_uri_priority (const Node::URI &first, const Node::URI &second)
bool compare_attr_priority (const Node::Attribute &first, const Node::Attribute &second)
std::ostream & operator<< (std::ostream &stream, const Node &node)

Enumeration Type Documentation

Enumerator:
BUNDLE_DELETED 
BUNDLE_CUSTODY_ACCEPTED 
BUNDLE_FORWARDED 
BUNDLE_DELIVERED 
BUNDLE_RECEIVED 
BUNDLE_STORED 

Definition at line 21 of file BundleEvent.h.

Enumerator:
CUSTODY_REJECT 
CUSTODY_ACCEPT 

Definition at line 21 of file CustodyEvent.h.

Enumerator:
NODE_UNAVAILABLE 
NODE_AVAILABLE 
NODE_INFO_UPDATED 

Definition at line 20 of file NodeEvent.h.

Enumerator:
TIME_SECOND_TICK 

Definition at line 17 of file TimeEvent.h.


Function Documentation

bool dtn::core::compare_attr_priority ( const Node::Attribute &  first,
const Node::Attribute &  second 
)

Definition at line 247 of file Node.cpp.

References dtn::core::Node::Attribute::priority.

Referenced by dtn::core::Node::get().

bool dtn::core::compare_uri_priority ( const Node::URI &  first,
const Node::URI &  second 
)

Definition at line 241 of file Node.cpp.

References dtn::core::Node::URI::priority.

Referenced by dtn::core::Node::get().

std::ostream& dtn::core::operator<< ( std::ostream &  stream,
const Node::URI &  u 
)
std::ostream& dtn::core::operator<< ( std::ostream &  stream,
const Node::Attribute &  a 
)
std::ostream& dtn::core::operator<< ( std::ostream &  stream,
const Node &  node 
)

Definition at line 424 of file Node.cpp.

References dtn::core::Node::URI::expire, dtn::core::Node::Attribute::expire, and dtn::data::EID::getString().

Here is the call graph for this function: