#include <Defragment.h>
Classes | |
struct | FragmentInfo |
struct | KeyInfo |
Public Member Functions | |
Defragment (unsigned long long invPeriod) | |
TypePtr | getMessage (const char *data, size_t offset, size_t count, const NetAddress &address) |
Protected Types | |
typedef boost::shared_ptr < Decoder > | DecoderPtr |
typedef std::map< KeyInfo, FragmentInfo > | FragmentMap |
typedef boost::shared_ptr< Type > | TypePtr |
Protected Member Functions | |
void | invalidate () |
Protected Attributes | |
FragmentMap | fragments |
unsigned long long | invPeriod |
unsigned long long | lastInvalidated |
boost::mutex | monitor |
TypePtr | reference |
Definition at line 37 of file Defragment.h.
typedef boost::shared_ptr<Decoder> castor::net::Defragment< Type, Decoder >::DecoderPtr [protected] |
Definition at line 42 of file Defragment.h.
typedef std::map<KeyInfo, FragmentInfo> castor::net::Defragment< Type, Decoder >::FragmentMap [protected] |
Definition at line 83 of file Defragment.h.
typedef boost::shared_ptr<Type> castor::net::Defragment< Type, Decoder >::TypePtr [protected] |
Definition at line 41 of file Defragment.h.
castor::net::Defragment< Type, Decoder >::Defragment | ( | unsigned long long | invPeriod | ) | [inline] |
Definition at line 95 of file Defragment.h.
TypePtr castor::net::Defragment< Type, Decoder >::getMessage | ( | const char * | data, |
size_t | offset, | ||
size_t | count, | ||
const NetAddress & | address | ||
) | [inline] |
Definition at line 101 of file Defragment.h.
void castor::net::Defragment< Type, Decoder >::invalidate | ( | ) | [inline, protected] |
Definition at line 148 of file Defragment.h.
FragmentMap castor::net::Defragment< Type, Decoder >::fragments [protected] |
Definition at line 85 of file Defragment.h.
unsigned long long castor::net::Defragment< Type, Decoder >::invPeriod [protected] |
Definition at line 90 of file Defragment.h.
unsigned long long castor::net::Defragment< Type, Decoder >::lastInvalidated [protected] |
Definition at line 91 of file Defragment.h.
boost::mutex castor::net::Defragment< Type, Decoder >::monitor [protected] |
Definition at line 88 of file Defragment.h.
TypePtr castor::net::Defragment< Type, Decoder >::reference [protected] |
Definition at line 86 of file Defragment.h.