I am currently trying to embed code into the demon via a new router. When I mentioned received.fromlocal I guess I misspoke. I am currently trying to work with bundles that would be sent using the dtnsend command (We do have direct access to those right?). The bundles are actually received.bundle which are dtn::data::Bundles. What I am wondering is, what is the relation between dtn::data::Bundle, and dtn::api::Bundle.
Thanks Carson
On Mon, Nov 21, 2011 at 9:31 AM, Johannes Morgenroth < morgenro@ibr.cs.tu-bs.de> wrote:
Hi.
First I need more information. Are you trying to implement an application using the API or do you embed code into the daemon? What type of object is your "received.fromlocal"?
Namespaces in C++ are just an convention not a barrier and you can access different namespaces as you like. http://www.cplusplus.com/doc/tutorial/namespaces/
Best regards Johannes
Am 21.11.2011 15:20, schrieb Carson Dunbar:
Hello, In your previous email you mentioned using getData() to get the BLOB::reference out of a bundle. Right now I am trying to work with bundles that are received.fromlocal (which I assume is the data sent in through the api) but since these come from the data namespace I can't access them the way you do for bundles in the api name space. Maybe I'm just confused on how the name spaces work, but is there a way to get the same information you mentioned from the data namespace bundles? Thanks
Carson Dunbar
-- Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig