Epidemic::EpidemicBundle Class Reference

Internal representation type for a persistent DTN::Bundle. More...

#include <epidemic/EpidemicStore.h>

Collaboration diagram for Epidemic::EpidemicBundle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 EpidemicBundle (DTN::Bundle *b)
 Constructor.
 EpidemicBundle (const DTN::ByteString &originator, uint32_t seqNum)
 Constructor for a dummy object, used in searching.
 EpidemicBundle (const DTN::ByteString &digest)
 Constructor for a dummy object, used in searching.
virtual ~EpidemicBundle ()
 Virtual destructor.
DTN::Bundlebundle () const
 
Returns:
the stored DTN::Bundle

bool operator< (const EpidemicBundle &b) const
 
Parameters:
b Another EpidemicBundle

const TimetimeAdded () const
 
Returns:
the Time at which the DTN::Bundle was added

const DTN::ByteString & digest () const
 
Returns:
the digest of this DTN::Bundle


Detailed Description

Internal representation type for a persistent DTN::Bundle.

Definition at line 54 of file EpidemicStore.h.


Member Function Documentation

bool EpidemicBundle::operator< ( const EpidemicBundle b  )  const

Parameters:
b Another EpidemicBundle

Returns:
whether this object should be sorted before b

Definition at line 86 of file EpidemicStore.cc.

References m_digest.


The documentation for this class was generated from the following files:
Generated on Mon Mar 24 11:15:48 2008 for Pydtn Simulator by  doxygen 1.5.4