IBR-DTNSuite  0.10
dtn::core Namespace Reference

Classes

class  AbstractWorker
 
class  P2PDialupException
 
class  BundleCore
 
class  BundleEvent
 
class  BundleExpiredEvent
 
class  BundleGeneratedEvent
 
class  BundlePurgeEvent
 
class  CustodyEvent
 
class  Event
 
class  EventProcessor
 
class  EventDebugger
 
class  EventDispatcher
 
class  EventReceiver
 
class  EventSwitch
 
class  FragmentationAbortedException
 
class  FragmentationProhibitedException
 
class  FragmentationNotNecessaryException
 
class  FragmentManager
 
class  GlobalEvent
 
class  Node
 
class  NodeEvent
 
class  StatusReportGenerator
 
class  TimeAdjustmentEvent
 
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_DATA_ADDED = 2, NODE_DATA_REMOVED = 3 }
 
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 35 of file BundleEvent.h.

Enumerator
CUSTODY_REJECT 
CUSTODY_ACCEPT 

Definition at line 34 of file CustodyEvent.h.

Enumerator
NODE_UNAVAILABLE 
NODE_AVAILABLE 
NODE_DATA_ADDED 
NODE_DATA_REMOVED 

Definition at line 34 of file NodeEvent.h.

Enumerator
TIME_SECOND_TICK 

Definition at line 32 of file TimeEvent.h.

Function Documentation

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

Definition at line 317 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 311 of file Node.cpp.

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

Referenced by dtn::core::Node::get(), and dtn::core::Node::getAll().

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 592 of file Node.cpp.

References dtn::core::Node::URI::expire, dtn::core::Node::Attribute::expire, dtn::data::EID::getString(), and dtn::data::SDNV< E >::toString().

Here is the call graph for this function: