00001 #ifndef _ANNOUNCE_BUNDLE_H_ 00002 #define _ANNOUNCE_BUNDLE_H_ 00003 00004 #include "Bundle.h" 00005 #include "naming/EndpointID.h" 00006 00007 namespace dtn { 00008 00013 class AnnounceBundle 00014 { 00015 public: 00016 static void create_announce_bundle(Bundle *bundle, 00017 const EndpointID& route_eid); 00018 00019 static bool parse_announce_bundle(Bundle *bundle, 00020 EndpointID *route_eid = NULL); 00021 }; // AnnounceBundle 00022 00023 } // dtn 00024 00025 #endif // _ANNOUNCE_BUNDLE_H_