Classes | |
struct | APIBundle |
Small encapsulating structure for API bundles. More... | |
class | APIEndpointIDOpt |
Extension class to the oasys Opt hierarchy that validates that the option is a DTN endpoint identifier (i.e. More... | |
class | APIServer |
Class that implements the main server side handling of the DTN application IPC. More... | |
class | APIClient |
Class that implements the API session. More... | |
class | DTND |
Thin class that implements the daemon itself. More... | |
class | APIBlockProcessor |
Block processor implementation for any bundle block generated by the API. More... | |
class | BlockInfo |
Class used to store unparsed bundle blocks and associated metadata about them. More... | |
class | BlockInfoVec |
Class for a vector of BlockInfo structures. More... | |
class | LinkBlockSet |
A set of BlockInfoVecs, one for each outgoing link. More... | |
class | BlockProcessor |
Base class for the protocol handling of bundle blocks, including the core primary and payload handling, security, and other extension blocks. More... | |
class | BP_Local |
Helper class for BlockProcessor local state for a block. More... | |
class | Bundle |
The internal representation of a bundle. More... | |
class | BundleActions |
Intermediary class that provides a utility interface to help routers more easily deal with the rest of the system. More... | |
class | BundleDaemon |
Class that handles the basic event / action mechanism. More... | |
class | MetadataBlockRequest |
class | BundleEvent |
Event base class. More... | |
class | BundleReceivedEvent |
Event class for new bundle arrivals. More... | |
class | BundleTransmittedEvent |
Event class for bundle or fragment transmission. More... | |
class | BundleDeliveredEvent |
Event class for local bundle delivery. More... | |
class | BundleDeliveryEvent |
Event class for local bundle delivery. More... | |
class | BundleExpiredEvent |
Event class for bundle expiration. More... | |
class | BundleFreeEvent |
Event class for bundles that have no more references to them. More... | |
class | ContactEvent |
Abstract class for the subset of events related to contacts and links that defines a reason code enumerated type. More... | |
class | ContactUpEvent |
Event class for contact up events. More... | |
class | ContactDownEvent |
Event class for contact down events. More... | |
class | ContactQueryRequest |
Event classes for contact queries and responses. More... | |
class | ContactReportEvent |
class | ContactAttributeChangedEvent |
Event class for a change in contact attributes. More... | |
class | LinkCreatedEvent |
Event class for link creation events. More... | |
class | LinkDeletedEvent |
Event class for link deletion events. More... | |
class | LinkAvailableEvent |
Event class for link available events. More... | |
class | LinkUnavailableEvent |
Event class for link unavailable events. More... | |
class | LinkStateChangeRequest |
Request class for link state change requests that are sent to the daemon thread for processing. More... | |
class | RegistrationAddedEvent |
Event class for new registration arrivals. More... | |
class | RegistrationRemovedEvent |
Event class for registration removals. More... | |
class | RegistrationExpiredEvent |
Event class for registration expiration. More... | |
class | RegistrationDeleteRequest |
Daemon-only event class used to delete a registration after it's removed or expired. More... | |
class | RouteAddEvent |
Event class for route add events. More... | |
class | RouteDelEvent |
Event class for route delete events. More... | |
class | RouteQueryRequest |
Event classes for static route queries and responses. More... | |
class | RouteReportEvent |
class | ReassemblyCompletedEvent |
Event class for reassembly completion. More... | |
class | CustodySignalEvent |
Event class for custody transfer signal arrivals. More... | |
class | CustodyTimeoutEvent |
Event class for custody transfer timeout events. More... | |
class | ShutdownRequest |
Event class for shutting down a daemon. More... | |
class | StatusRequest |
Event class for checking that the daemon is still running. More... | |
class | BundleSendRequest |
Event class for sending a bundle. More... | |
class | BundleCancelRequest |
Event class for canceling a bundle transmission. More... | |
class | BundleSendCancelledEvent |
Event class for succesful cancellation of a bundle send. More... | |
class | BundleInjectRequest |
Event class for injecting a bundle. More... | |
class | BundleInjectedEvent |
Event class for a succesful bundle injection. More... | |
class | BundleDeleteRequest |
Event class for requestion deletion of a bundle. More... | |
class | BundleAcceptRequest |
Event class to optionally probe if a bundle can be accepted by the system before a BundleReceivedEvent is posted. More... | |
class | BundleQueryRequest |
Event classes for bundle queries and responses. More... | |
class | BundleReportEvent |
class | BundleAttributesQueryRequest |
class | BundleAttributesReportEvent |
class | LinkCreateRequest |
Event class for creating and opening a link. More... | |
class | LinkReconfigureRequest |
Event class for reconfiguring an existing link. More... | |
class | LinkDeleteRequest |
Event class for requesting deletion of a link. More... | |
class | LinkAttributeChangedEvent |
Event class for a change in link attributes. More... | |
class | LinkQueryRequest |
Event classes for link queries and responses. More... | |
class | LinkReportEvent |
class | CLASetParamsRequest |
Event class for DP-originated CLA parameter change requests. More... | |
class | CLAParamsSetEvent |
Event class for CLA parameter change request completion events. More... | |
class | SetLinkDefaultsRequest |
Event class for DP-originated requests to set link defaults. More... | |
class | NewEIDReachableEvent |
Event class for discovery of a new EID. More... | |
class | CLAQueryReport |
Event classes for queries to and reports from the CLA. More... | |
class | BundleQueuedQueryRequest |
class | BundleQueuedReportEvent |
class | EIDReachableQueryRequest |
class | EIDReachableReportEvent |
class | LinkAttributesQueryRequest |
class | LinkAttributesReportEvent |
class | IfaceAttributesQueryRequest |
class | IfaceAttributesReportEvent |
class | CLAParametersQueryRequest |
class | CLAParametersReportEvent |
class | BundleEventHandler |
Both the BundleDaemon and all the BundleRouter classes need to process the various types of BundleEvent that are generated by the rest of the system. More... | |
class | BundleInfoCache |
Utility class for maintain a cache of recently received bundles, indexed by GbofId. More... | |
class | BundleList |
List structure for handling bundles. More... | |
class | BlockingBundleList |
A simple derivative to the BundleList class that hooks in an oasys Notifier, which thereby allows inter-thread signalling via a pop_blocking() method. More... | |
class | BundleMapping |
Structure stored in a list along with each bundle to keep a "backpointer" to any bundle lists that the bundle is queued on to make searching the lists more efficient. More... | |
class | BundleMappings |
Class to define the set of mappings. More... | |
class | BundlePayload |
The representation of a bundle payload. More... | |
class | BundleProtocol |
Centralized class used to convert a Bundle to / from the bundle protocol specification for the "on-the-wire" representation. More... | |
class | BundleStatusReport |
Utility class to create and parse status reports. More... | |
struct | BundleTimestamp |
Simple struct definition for bundle creation timestamps. More... | |
class | CustodySignal |
Utility class to format and parse custody signal bundles. More... | |
class | CustodyTimerSpec |
Utility class to abstract out various parameters that can be used to calculate custody retransmission timers. More... | |
class | CustodyTimer |
A custody transfer timer. More... | |
class | CustodyTimerVec |
Class for a vector of custody timers. More... | |
class | Dictionary |
Simple data structure to handle a dictionary data structure, as specified by the bundle protocol, i.e. More... | |
class | ExpirationTimer |
Bundle expiration timer class. More... | |
class | ForwardingInfo |
Class to encapsulate bundle forwarding information. More... | |
class | ForwardingLog |
Class to maintain a log of informational records as to where and when a bundle has been forwarded. More... | |
class | BlockInfoPointerList |
class | FragmentManager |
The Fragment Manager maintains state for all of the fragmentary bundles, reconstructing whole bundles from partial bundles. More... | |
class | FragmentState |
class | GbofId |
Class definition for a GBOF ID (Global Bundle Or Fragment ID). More... | |
class | MetadataBlock |
The representation of a metadata extension block. More... | |
class | MetadataVec |
A vector of Metadata Block references. More... | |
class | LinkMetadataSet |
Data structure to store a metadata block vector for each outgoing link, similar to LinkBlockSet. More... | |
class | MetadataBlockProcessor |
Block processor implementation for the metadata extension block. More... | |
class | PayloadBlockProcessor |
Block processor implementation for the payload bundle block. More... | |
class | PreviousHopBlockProcessor |
Block processor implementation for the previous hop bundle block. More... | |
class | PrimaryBlockProcessor |
Block processor implementation for the primary bundle block. More... | |
class | SequenceID |
A bundle SequenceID is a version vector of (EID, counter) and/or (EID, identifier) tuples. More... | |
class | SequenceIDBlockProcessor |
Block processor implementation for sequence id blocks and obsoletes blocks since they use the same wire format (with a different block type code). More... | |
class | SessionBlockProcessor |
Block processor implementation for session blocks. More... | |
class | TempBundle |
Class to represent a temporary bundle -- i.e. More... | |
class | UnknownBlockProcessor |
Block processor implementation for any unknown bundle blocks. More... | |
class | APICommand |
API options command. More... | |
class | BundleCommand |
Debug command for hand manipulation of bundles. More... | |
class | CompletionNotifier |
Simple singleton class used by DTN commands when they need to call BundleDaemon::post_and_wait(). More... | |
class | DiscoveryCommand |
class | InterfaceCommand |
CommandModule for the "interface" command. More... | |
class | LinkCommand |
The "link" command. More... | |
class | ParamCommand |
Parameter setting command. More... | |
class | ProphetCommand |
The "prophet" command. More... | |
class | RegistrationCommand |
The "registration" command. More... | |
class | RouteCommand |
The "route" command. More... | |
class | ShutdownCommand |
CommandModule for the "shutdown" command. More... | |
class | StorageCommand |
Class to control the storage system. More... | |
class | TestCommand |
CommandModule for the "test" command. More... | |
class | AlwaysOnLink |
Abstraction for an always on link. More... | |
class | Contact |
Encapsulation of an active connection to a next-hop DTN contact. More... | |
class | ContactManager |
A contact manager class. More... | |
class | Interface |
Abstraction of a local dtn interface. More... | |
class | InterfaceTable |
Class for the in-memory interface table. More... | |
class | LinkSet |
Set of links. More... | |
class | Link |
Abstraction for a DTN link, i.e. More... | |
class | AttributeName |
class | NamedAttribute |
Class for a generic list of attributes/parameters, used for various configuration functions. More... | |
class | OndemandLink |
Abstraction for a ONDEMAND link. More... | |
class | OpportunisticLink |
Abstraction for a OPPORTUNISTIC link. More... | |
class | ScheduledLink |
class | FutureContact |
Abstract base class for FutureContact Relevant only for scheduled links. More... | |
class | CLConnection |
Helper class (and thread) that manages an established connection with a peer daemon. More... | |
class | ConnectionConvergenceLayer |
All convergence layers that maintain a connection (i.e. More... | |
class | ConvergenceLayer |
The abstract interface for a convergence layer. More... | |
class | CLVector |
Use a singleton vector to enumerate the convergence layers that are currently implemented. More... | |
class | CLInfo |
Abstract base class for convergence layer specific state stored in an interface / contact / link. More... | |
class | FileConvergenceLayer |
class | IPConvergenceLayer |
Base class for shared functionality between the TCP and UDP convergence layers (currently none). More... | |
class | IPConvergenceLayerUtils |
Utility class for shared functionality between ip-based convergence layers. More... | |
class | NullConvergenceLayer |
The null convergence layer consumes all bundles immediately and does no actual transmission, roughly similar to /dev/null. More... | |
class | SerialConvergenceLayer |
The Serial Convergence Layer. More... | |
class | StreamConvergenceLayer |
Another shared-implementation convergence layer class for use with reliable, in-order delivery protocols (i.e. More... | |
class | TCPConvergenceLayer |
The TCP Convergence Layer. More... | |
class | UDPConvergenceLayer |
class | Announce |
Announce represents a ConvergenceLayer (Interface). More... | |
class | Discovery |
Abstraction of neighbor discovery agent. More... | |
class | DiscoveryTable |
class | IPAnnounce |
Helper class that 1) formats outbound beacons to advertise this CL instance via neighbor discovery, and 2) responds to inbound advertisements by creating a new Contact. More... | |
class | IPDiscovery |
IPDiscovery is the main thread in IP-based neighbor discovery, configured via config file or command console to listen to a specified UDP port for unicast, broadcast, or multicast beacons from advertising neighbors. More... | |
class | DTNServer |
class | DTNScheme |
This class implements the one default scheme as specified in the bundle protocol. More... | |
class | EndpointID |
class | EndpointIDPattern |
A Distinct class for endpoint patterns (i.e. More... | |
class | EndpointIDVector |
A (serializable) vector of endpoint ids. More... | |
struct | GlobalEndpointIDs |
Helper class to store the global EIDs so that printing an EndpointID within gdb doesn't result in an infinite recursion. More... | |
class | EndpointIDOpt |
Extension class to the oasys Opt hierarchy that validates that the option is a DTN endpoint identifier. More... | |
class | Scheme |
The base class for various endpoint id schemes. More... | |
class | SchemeTable |
The table of registered endpoint id schemes. More... | |
class | SessionScheme |
This class implements a scheme to match dtn-session: URIs. More... | |
class | StringScheme |
class | TCAScheme |
This class implements the tca scheme. More... | |
class | WildcardScheme |
class | AdminRegistration |
Internal registration that recieves all administrative bundles destined for the router itself (i.e. More... | |
class | APIRegistration |
Registration class to represent an actual attached application over the client api. More... | |
class | APIRegistrationList |
Typedef for a list of APIRegistrations. More... | |
class | LoggingRegistration |
A simple utility class used mostly for testing registrations. More... | |
class | PingRegistration |
Internal registration for the dtnping application. More... | |
class | Registration |
Class used to represent an "application" registration, loosely defined to also include internal router mechanisms that consume bundles. More... | |
class | RegistrationList |
Typedef for a list of Registrations. More... | |
class | RegistrationTable |
Class for the in-memory registration table. More... | |
class | TclRegistration |
A simple utility class used mostly for testing registrations. More... | |
class | BundleRouter |
The BundleRouter is the main decision maker for all routing decisions related to bundles. More... | |
class | DTLSR |
Static class used for generic functionality in the DTLSR (Delay Tolerant Link State Router) implementation. More... | |
class | DTLSRConfig |
Class to encapsulate the DTLSR configuration. More... | |
class | DTLSRRouter |
The DTLSRRouter uses link state announcements to build a multigraph of routing edges. More... | |
class | FloodBundleRouter |
This is the implementation of a flooding based bundle router. More... | |
class | LinkScheduleEstimator |
Given a log on the form (start1, duration1), . More... | |
class | MultiGraph |
Data structure to represent a multigraph. More... | |
class | ProphetBundle |
Unification class that ties together Prophet's metadata view with DTN's complete Bundle object. More... | |
class | ProphetBundleCore |
Implements the prophet::BundleCore API by integrating DTN's system services. More... | |
class | ProphetBundleList |
Maintain mapping between dtn::Bundle and prophet::Bundle. More... | |
class | ProphetLink |
class | ProphetLinkList |
class | ProphetNode |
ProphetNode stores state for a remote node as identified by remote_eid. More... | |
class | ProphetNodeList |
Maintain a one-to-one mapping of objects in memory to objects in permanent store, much like a write-thru cache. More... | |
class | ProphetRouter |
class | ProphetTimer |
class | RouteEntry |
Class to represent route table entry. More... | |
class | RouteEntryInfo |
Interface for any per-entry routing algorithm state. More... | |
class | RouteEntryVec |
Class for a vector of route entries. More... | |
struct | RoutePrioritySort |
Functor class to sort a vector of routes based on forwarding priority, using the bytes queued on the link to break ties. More... | |
class | RouterInfo |
Empty wrapper class to encapsulate router-specific data attached to Links. More... | |
class | RouteTable |
Class that implements the routing table, implemented with an stl vector. More... | |
class | StaticBundleRouter |
This is the implementation of the basic bundle routing algorithm that only does static routing. More... | |
class | TableBasedRouter |
This is an abstract class that is intended to be used for all routing algorithms that store routing state in a table. More... | |
class | TcaControlBundle |
class | TcaWrappedBundle |
class | TcaEndpointID |
class | TcaRouter |
This is the implementation of the TCA bundle routing algorithm. More... | |
class | Session |
Class to manage a session. More... | |
class | SessionTable |
Table to manage the open sessions. More... | |
class | Subscriber |
A subscriber for a session is either a local registration or a next hop destination. More... | |
class | BundleStore |
The class for bundle storage is an instantiation of an oasys durable table to store the bundle metadata, tracking logic for the storage total, and other support classes for the payloads. More... | |
class | DTNStorageConfig |
Subclass of the basic oasys storage config to add dtn-specific configuration variables. More... | |
class | Globals |
class | GlobalStore |
Class for those elements of the router that need to be persistently stored but are singleton global values. More... | |
class | LinkStore |
The class for link storage. More... | |
class | MysqlSQLImplementation |
Mysql based implementation of SQL database. More... | |
class | PersistentStore |
The abstract base class implementing a persistent storage system. More... | |
class | PostgresSQLImplementation |
Postgres based implementation of SQL database. More... | |
class | EndpointIDShim |
class | ProphetStore |
class | RegistrationStore |
The class for registration storage is simply an instantiation of the generic oasys durable table interface. More... | |
class | SQLBundleStore |
Implementation of a BundleStore that uses an underlying SQL database. More... | |
class | SQLGlobalStore |
Implementation of GlobalStore that uses an underlying SQL database. More... | |
class | SQLRegistrationStore |
Implementation of RegistrationStore that uses an underlying SQL database. More... | |
class | SQLStore |
Implementation of a StorageManager with an underlying SQL database. More... | |
Typedefs | |
typedef std::vector< APIBundle * > | APIBundleVector |
Type definition of a simple vector of APIBundles. | |
typedef oasys::MsgQueue < APIBundle * > | APIBundleQueue |
Type definition of an oasys blocking message queue that stores APIBundle structures. | |
typedef oasys::Ref< BP_Local > | BP_LocalRef |
Typedef for a reference to a BP_Local. | |
typedef std::vector < MetadataBlockRequest > | MetaBlockRequestVector |
typedef oasys::Ref< Bundle > | BundleRef |
Class definition for a Bundle reference. | |
typedef oasys::Ref< MetadataBlock > | MetadataBlockRef |
Typedef for a reference to a MetadataBlock. | |
typedef oasys::Ref< Link > | LinkRef |
Typedef for a reference on a link. | |
typedef oasys::Ref< Contact > | ContactRef |
Typedef for a reference on a contact. | |
typedef std::list< Interface * > | InterfaceList |
The list of interfaces. | |
typedef std::vector < AttributeName > | AttributeNameVector |
typedef std::vector < NamedAttribute > | AttributeVector |
typedef std::list< Discovery * > | DiscoveryList |
typedef oasys::URI | URI |
typedef std::vector < BundleRouter * > | BundleRouterList |
Typedef for a list of bundle routers. | |
typedef std::vector< Subscriber > | SubscriberList |
Type for a vector of subscriber objects. | |
typedef oasys::InternalKeyDurableTable < oasys::StringShim, std::string, Link > | LinkStoreImpl |
Convenience typedef for the oasys adaptor that implements the link durable store. | |
typedef oasys::InternalKeyDurableTable < oasys::UIntShim, u_int32_t, APIRegistration > | RegistrationStoreImpl |
Convenience typedef for the oasys template parent class. | |
Enumerations | |
enum | event_type_t { BUNDLE_RECEIVED = 0x1, BUNDLE_TRANSMITTED, BUNDLE_DELIVERED, BUNDLE_DELIVERY, BUNDLE_EXPIRED, BUNDLE_NOT_NEEDED, BUNDLE_FREE, BUNDLE_FORWARD_TIMEOUT, BUNDLE_SEND, BUNDLE_CANCEL, BUNDLE_CANCELLED, BUNDLE_INJECT, BUNDLE_INJECTED, BUNDLE_ACCEPT_REQUEST, BUNDLE_DELETE, BUNDLE_QUERY, BUNDLE_REPORT, BUNDLE_ATTRIB_QUERY, BUNDLE_ATTRIB_REPORT, CONTACT_UP, CONTACT_DOWN, CONTACT_QUERY, CONTACT_REPORT, CONTACT_ATTRIB_CHANGED, LINK_CREATED, LINK_DELETED, LINK_AVAILABLE, LINK_UNAVAILABLE, LINK_BUSY, LINK_CREATE, LINK_DELETE, LINK_RECONFIGURE, LINK_QUERY, LINK_REPORT, LINK_ATTRIB_CHANGED, LINK_STATE_CHANGE_REQUEST, REASSEMBLY_COMPLETED, REGISTRATION_ADDED, REGISTRATION_REMOVED, REGISTRATION_EXPIRED, REGISTRATION_DELETE, ROUTE_ADD, ROUTE_DEL, ROUTE_QUERY, ROUTE_REPORT, CUSTODY_SIGNAL, CUSTODY_TIMEOUT, DAEMON_SHUTDOWN, DAEMON_STATUS, CLA_SET_PARAMS, CLA_PARAMS_SET, CLA_SET_LINK_DEFAULTS, CLA_EID_REACHABLE, CLA_BUNDLE_QUEUED_QUERY, CLA_BUNDLE_QUEUED_REPORT, CLA_EID_REACHABLE_QUERY, CLA_EID_REACHABLE_REPORT, CLA_LINK_ATTRIB_QUERY, CLA_LINK_ATTRIB_REPORT, CLA_IFACE_ATTRIB_QUERY, CLA_IFACE_ATTRIB_REPORT, CLA_PARAMS_QUERY, CLA_PARAMS_REPORT } |
Type codes for events / requests. More... | |
enum | event_source_t { EVENTSRC_PEER = 1, EVENTSRC_APP = 2, EVENTSRC_STORE = 3, EVENTSRC_ADMIN = 4, EVENTSRC_FRAGMENTATION = 5, EVENTSRC_ROUTER = 6 } |
Possible sources for events. More... | |
Functions | |
const char * | event_to_str (event_type_t event) |
Conversion function from an event to a string. | |
const char * | source_to_str (event_source_t source) |
Conversion function from a source to a string suitable for use with plug-in arch XML messaging. | |
void | prophet_router_shutdown (void *) |
static std::string | get_payload_str (const Bundle *b) |
static bool | check_nargs (const TcaControlBundle &cb, uint n_expected) |
static void | log_bundle (const std::string &comment, const Bundle *b, bool include_payload) |
static void | log_controlbundle (const TcaControlBundle &cb) |
Variables | |
static const char * | log = "/dtn/bundle/protocol" |
static const char * | LOG = "/dtn/bundle/protocol" |
unsigned int ** | dist |
static const char * | DASHES |
static const std::string | BL = "tca://localhost/bundlelayer" |
static const char * | GLOBAL_TABLE = "globals" |
static const char * | GLOBAL_KEY = "global_key" |
typedef oasys::MsgQueue<APIBundle*> dtn::APIBundleQueue |
Type definition of an oasys blocking message queue that stores APIBundle structures.
Definition at line 44 of file APIBundleQueue.h.
typedef std::vector<APIBundle*> dtn::APIBundleVector |
typedef std::vector<AttributeName> dtn::AttributeNameVector |
Definition at line 149 of file NamedAttribute.h.
typedef std::vector<NamedAttribute> dtn::AttributeVector |
Definition at line 150 of file NamedAttribute.h.
typedef oasys::Ref<BP_Local> dtn::BP_LocalRef |
typedef oasys::Ref<Bundle> dtn::BundleRef |
typedef std::vector<BundleRouter*> dtn::BundleRouterList |
typedef oasys::Ref<Contact> dtn::ContactRef |
typedef std::list<Discovery*> dtn::DiscoveryList |
Definition at line 27 of file DiscoveryTable.h.
typedef std::list<Interface*> dtn::InterfaceList |
typedef oasys::Ref< Link > dtn::LinkRef |
typedef oasys::InternalKeyDurableTable< oasys::StringShim, std::string, Link> dtn::LinkStoreImpl |
Convenience typedef for the oasys adaptor that implements the link durable store.
Definition at line 27 of file LinkStore.h.
typedef std::vector<MetadataBlockRequest> dtn::MetaBlockRequestVector |
Definition at line 256 of file BundleEvent.h.
typedef oasys::Ref<MetadataBlock> dtn::MetadataBlockRef |
typedef oasys::InternalKeyDurableTable< oasys::UIntShim, u_int32_t, APIRegistration> dtn::RegistrationStoreImpl |
Convenience typedef for the oasys template parent class.
Definition at line 33 of file RegistrationStore.h.
typedef std::vector<Subscriber> dtn::SubscriberList |
typedef oasys::URI dtn::URI |
Definition at line 29 of file EndpointID.h.
enum dtn::event_source_t |
Possible sources for events.
EVENTSRC_PEER | a peer dtn forwarder |
EVENTSRC_APP | a local application |
EVENTSRC_STORE | the data store |
EVENTSRC_ADMIN | the admin logic |
EVENTSRC_FRAGMENTATION | the fragmentation engine |
EVENTSRC_ROUTER | the routing logic |
Definition at line 213 of file BundleEvent.h.
enum dtn::event_type_t |
Type codes for events / requests.
BUNDLE_RECEIVED | New bundle arrival. |
BUNDLE_TRANSMITTED | Bundle or fragment successfully sent. |
BUNDLE_DELIVERED | Bundle locally delivered. |
BUNDLE_DELIVERY | Bundle delivery (with payload). |
BUNDLE_EXPIRED | Bundle expired. |
BUNDLE_NOT_NEEDED | Bundle no longer needed. |
BUNDLE_FREE | No more references to the bundle. |
BUNDLE_FORWARD_TIMEOUT | A Mapping timed out. |
BUNDLE_SEND | Send a bundle. |
BUNDLE_CANCEL | Cancel a bundle transmission. |
BUNDLE_CANCELLED | Bundle send cancelled. |
BUNDLE_INJECT | Inject a bundle. |
BUNDLE_INJECTED | A bundle was injected. |
BUNDLE_ACCEPT_REQUEST | Request acceptance of a new bundle. |
BUNDLE_DELETE | Request deletion of a bundle. |
BUNDLE_QUERY | Bundle query. |
BUNDLE_REPORT | Response to bundle query. |
BUNDLE_ATTRIB_QUERY | Query for a bundle's attributes. |
BUNDLE_ATTRIB_REPORT | Report with bundle attributes. |
CONTACT_UP | Contact is up. |
CONTACT_DOWN | Contact abnormally terminated. |
CONTACT_QUERY | Contact query. |
CONTACT_REPORT | Response to contact query. |
CONTACT_ATTRIB_CHANGED | An attribute changed. |
LINK_CREATED | Link is created into the system. |
LINK_DELETED | Link is deleted from the system. |
LINK_AVAILABLE | Link is available. |
LINK_UNAVAILABLE | Link is unavailable. |
LINK_BUSY | Link is busy. |
LINK_CREATE | Create and open a new link. |
LINK_DELETE | Delete a link. |
LINK_RECONFIGURE | Reconfigure a link. |
LINK_QUERY | Link query. |
LINK_REPORT | Response to link query. |
LINK_ATTRIB_CHANGED | An attribute changed. |
LINK_STATE_CHANGE_REQUEST | Link state should be changed. |
REASSEMBLY_COMPLETED | Reassembly completed. |
REGISTRATION_ADDED | New registration arrived. |
REGISTRATION_REMOVED | Registration removed. |
REGISTRATION_EXPIRED | Registration expired. |
REGISTRATION_DELETE | Registration to be deleted. |
ROUTE_ADD | Add a new entry to the route table. |
ROUTE_DEL | Remove an entry from the route table. |
ROUTE_QUERY | Static route query. |
ROUTE_REPORT | Response to static route query. |
CUSTODY_SIGNAL | Custody transfer signal received. |
CUSTODY_TIMEOUT | Custody transfer timer fired. |
DAEMON_SHUTDOWN | Shut the daemon down cleanly. |
DAEMON_STATUS | No-op event to check the daemon. |
CLA_SET_PARAMS | Set CLA configuration. |
CLA_PARAMS_SET | CLA configuration changed. |
CLA_SET_LINK_DEFAULTS | Set defaults for new links. |
CLA_EID_REACHABLE | A new EID has been discovered. |
CLA_BUNDLE_QUEUED_QUERY | Query if a bundle is queued at the CLA. |
CLA_BUNDLE_QUEUED_REPORT | Report if a bundle is queued at the CLA. |
CLA_EID_REACHABLE_QUERY | Query if an EID is reachable by the CLA. |
CLA_EID_REACHABLE_REPORT | Report if an EID is reachable by the CLA. |
CLA_LINK_ATTRIB_QUERY | Query CLA for a link's attributes. |
CLA_LINK_ATTRIB_REPORT | Report from CLA with link attributes. |
CLA_IFACE_ATTRIB_QUERY | Query CLA for an interface's attributes. |
CLA_IFACE_ATTRIB_REPORT | Report from CLA with interface attributes. |
CLA_PARAMS_QUERY | Query CLA for config parameters. |
CLA_PARAMS_REPORT | Report from CLA with config paramters. |
Definition at line 46 of file BundleEvent.h.
static bool dtn::check_nargs | ( | const TcaControlBundle & | cb, | |
uint | n_expected | |||
) | [static] |
Definition at line 59 of file TcaRouter.cc.
References dtn::TcaControlBundle::args_, log_err_p, and dtn::TcaControlBundle::str().
Referenced by dtn::TcaRouter::handle_add_route(), dtn::TcaRouter::handle_ask(), dtn::TcaRouter::handle_del_route(), dtn::TcaRouter::handle_get_routes(), dtn::TcaRouter::on_adv_transmitted(), and dtn::TcaRouter::on_ask_transmitted().
const char* dtn::event_to_str | ( | event_type_t | event | ) | [inline] |
Conversion function from an event to a string.
Definition at line 127 of file BundleEvent.h.
References BUNDLE_ACCEPT_REQUEST, BUNDLE_ATTRIB_QUERY, BUNDLE_ATTRIB_REPORT, BUNDLE_CANCEL, BUNDLE_CANCELLED, BUNDLE_DELETE, BUNDLE_DELIVERED, BUNDLE_DELIVERY, BUNDLE_EXPIRED, BUNDLE_FORWARD_TIMEOUT, BUNDLE_FREE, BUNDLE_INJECT, BUNDLE_INJECTED, BUNDLE_NOT_NEEDED, BUNDLE_QUERY, BUNDLE_RECEIVED, BUNDLE_REPORT, BUNDLE_SEND, BUNDLE_TRANSMITTED, CLA_BUNDLE_QUEUED_QUERY, CLA_BUNDLE_QUEUED_REPORT, CLA_EID_REACHABLE, CLA_EID_REACHABLE_QUERY, CLA_EID_REACHABLE_REPORT, CLA_IFACE_ATTRIB_QUERY, CLA_IFACE_ATTRIB_REPORT, CLA_LINK_ATTRIB_QUERY, CLA_LINK_ATTRIB_REPORT, CLA_PARAMS_QUERY, CLA_PARAMS_REPORT, CLA_PARAMS_SET, CLA_SET_LINK_DEFAULTS, CLA_SET_PARAMS, CONTACT_ATTRIB_CHANGED, CONTACT_DOWN, CONTACT_QUERY, CONTACT_REPORT, CONTACT_UP, CUSTODY_SIGNAL, CUSTODY_TIMEOUT, DAEMON_SHUTDOWN, DAEMON_STATUS, LINK_ATTRIB_CHANGED, LINK_AVAILABLE, LINK_BUSY, LINK_CREATE, LINK_CREATED, LINK_DELETE, LINK_DELETED, LINK_QUERY, LINK_RECONFIGURE, LINK_REPORT, LINK_STATE_CHANGE_REQUEST, LINK_UNAVAILABLE, REASSEMBLY_COMPLETED, REGISTRATION_ADDED, REGISTRATION_DELETE, REGISTRATION_EXPIRED, REGISTRATION_REMOVED, ROUTE_ADD, ROUTE_DEL, ROUTE_QUERY, and ROUTE_REPORT.
Referenced by dtn::BundleEvent::type_str().
static std::string dtn::get_payload_str | ( | const Bundle * | b | ) | [static] |
Definition at line 48 of file TcaRouter.cc.
References len, dtn::BundlePayload::length(), dtn::Bundle::payload(), and dtn::BundlePayload::read_data().
Referenced by dtn::TcaRouter::handle_anonymous_bundle(), dtn::TcaRouter::handle_bl_control_bundle(), dtn::TcaRouter::handle_bundle_transmitted(), dtn::TcaRouter::handle_register(), and log_bundle().
static void dtn::log_bundle | ( | const std::string & | comment, | |
const Bundle * | b, | |||
bool | include_payload | |||
) | [static] |
Definition at line 73 of file TcaRouter.cc.
References dtn::EndpointID::c_str(), dtn::Bundle::dest(), get_payload_str(), dtn::Bundle::source(), and dtn::EndpointID::str().
Referenced by dtn::TcaRouter::handle_bundle_received().
static void dtn::log_controlbundle | ( | const TcaControlBundle & | cb | ) | [static] |
Definition at line 89 of file TcaRouter.cc.
References dtn::TcaControlBundle::args_, and dtn::TcaControlBundle::code_.
Referenced by dtn::TcaRouter::handle_register().
void dtn::prophet_router_shutdown | ( | void * | ) |
const char* dtn::source_to_str | ( | event_source_t | source | ) | [inline] |
Conversion function from a source to a string suitable for use with plug-in arch XML messaging.
Definition at line 227 of file BundleEvent.h.
References EVENTSRC_ADMIN, EVENTSRC_APP, EVENTSRC_FRAGMENTATION, EVENTSRC_PEER, EVENTSRC_ROUTER, and EVENTSRC_STORE.
const std::string dtn::BL = "tca://localhost/bundlelayer" [static] |
Definition at line 38 of file TcaRouter.cc.
Referenced by dtn::TcaRouter::handle_ask(), dtn::TcaRouter::handle_bl_ask(), dtn::TcaRouter::handle_contact_down(), dtn::TcaRouter::handle_contact_up(), dtn::TcaRouter::handle_get_routes(), dtn::TcaRouter::handle_link_available(), dtn::TcaRouter::handle_link_unavailable(), dtn::TcaRouter::handle_register(), dtn::TcaRouter::handle_shutdown_request(), dtn::TcaRouter::handle_tca_unbound_bundle(), dtn::TcaRouter::on_adv_transmitted(), dtn::TcaRouter::on_ask_transmitted(), dtn::TcaRouter::on_coa_transmitted(), and dtn::TcaRouter::push_wrapped_bundle().
const char* dtn::DASHES [static] |
Initial value:
"---------------------------------------------" "---------------------------------------------" "---------------------------------------------" "---------------------------------------------" "---------------------------------------------" "---------------------------------------------"
Definition at line 126 of file RouteEntry.cc.
Referenced by dtn::RouteEntry::dump_header().
unsigned int** dtn::dist |
Definition at line 31 of file LinkScheduleEstimator.cc.
Referenced by dtn::LinkScheduleEstimator::log_dist(), and dtn::LinkScheduleEstimator::log_dist_r().
const char* dtn::GLOBAL_KEY = "global_key" [static] |
Definition at line 37 of file GlobalStore.cc.
Referenced by dtn::GlobalStore::do_init(), dtn::GlobalStore::load(), and dtn::GlobalStore::update().
const char* dtn::GLOBAL_TABLE = "globals" [static] |
const char* dtn::LOG = "/dtn/bundle/protocol" [static] |
Definition at line 47 of file BundleProtocol.cc.
Referenced by dtn::ProphetBundleCore::add(), dtn::BundleProtocol::consume(), dtn::ProphetBundleCore::create_alarm(), dtn::ProphetBundleCore::create_bundle(), dtn::ProphetBundleCore::del(), dtn::ProphetBundleCore::delete_node(), dtn::ProphetBundleCore::drop_bundle(), dtn::BundleProtocol::generate_blocks(), dtn::ProphetBundleCore::get_bundle(), dtn::ProphetBundleCore::get_link(), dtn::ProphetBundleCore::get_temp_bundle(), dtn::ProphetBundleCore::load_dtn_bundles(), dtn::BundleProtocol::prepare_blocks(), dtn::BundleProtocol::produce(), dtn::ProphetBundleCore::read_bundle(), dtn::ProphetBundleCore::send_bundle(), dtn::ProphetBundleCore::update_node(), dtn::BundleProtocol::validate(), and dtn::ProphetBundleCore::write_bundle().
const char* dtn::log = "/dtn/bundle/protocol" [static] |
Definition at line 30 of file BlockProcessor.cc.
Referenced by dtn::BlockProcessor::BlockProcessor(), dtn::PrimaryBlockProcessor::consume(), dtn::PayloadBlockProcessor::consume(), dtn::BlockProcessor::consume(), dtn::BlockProcessor::consume_preamble(), dtn::Dictionary::extract_eid(), dtn::BlockProcessor::generate_preamble(), dtn::PrimaryBlockProcessor::generate_primary(), dtn::PrimaryBlockProcessor::get_primary_len(), dtn::MetadataBlock::modify_outgoing_metadata(), dtn::MetadataBlockProcessor::parse_metadata(), dtn::MetadataBlockProcessor::prepare(), dtn::MetadataBlock::remove_outgoing_metadata(), dtnsim::Simulator::run(), dtn::PrimaryBlockProcessor::validate(), dtn::PayloadBlockProcessor::validate(), dtn::MetadataBlockProcessor::validate(), dtn::EndpointID::validate(), and dtn::BlockProcessor::validate().