dtn::AnnounceBundle Class Reference

#include <AnnounceBundle.h>

List of all members.


Detailed Description

Beacon sent by Neighbor Discovery element within Convergence Layer to announce to other DTN nodes.

Definition at line 29 of file AnnounceBundle.h.

Static Public Member Functions

static void create_announce_bundle (Bundle *bundle, const EndpointID &route_eid)
static bool parse_announce_bundle (Bundle *bundle, EndpointID *route_eid=NULL)


Member Function Documentation

void dtn::AnnounceBundle::create_announce_bundle ( Bundle bundle,
const EndpointID route_eid 
) [static]

Definition at line 24 of file AnnounceBundle.cc.

References dtn::BundleProtocol::ADMIN_ANNOUNCE, dtn::EndpointID::assign(), dtn::Bundle::custodian_, dtn::Bundle::dest_, dtn::Bundle::expiration_, dtn::Bundle::is_admin_, dtn::EndpointID::NULL_EID(), dtn::Bundle::payload_, dtn::Bundle::replyto_, dtn::BundlePayload::set_data(), and dtn::Bundle::source_.

bool dtn::AnnounceBundle::parse_announce_bundle ( Bundle bundle,
EndpointID route_eid = NULL 
) [static]

Definition at line 47 of file AnnounceBundle.cc.

References dtn::BundleProtocol::ADMIN_ANNOUNCE, dtn::EndpointID::assign(), oasys::ScratchBuffer< _memory_t, _static_size >::buf(), dtn::Bundle::is_admin_, dtn::BundlePayload::length(), dtn::Bundle::payload_, payload_buf, dtn::BundlePayload::read_data(), and dtn::Bundle::source_.


The documentation for this class was generated from the following files:
Generated on Thu Jun 7 16:56:55 2007 for DTN Reference Implementation by  doxygen 1.5.1