dtnrg-3----Page:20
1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25 

Bundle Class Representation
Bundle Metadata always in memory
Reference-counted C++ object for safety

Various fields “parsed” from the wire format into member variables
BundleProtocol class to convert to and from
Object serialization layer for synchronizing with the database

BundlePayload abstraction
Manages on-disk representation of payload
Methods for read_data(), write_data()
For small bundles, keeps in-memory copy
PPT Version