qpid::broker::Persistable Class Reference

Base class for all persistable objects. More...

#include <Persistable.h>

Inheritance diagram for qpid::broker::Persistable:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void setPersistenceId (uint64_t id) const =0
 Allows the store to attach its own identifier to this object.
virtual uint64_t getPersistenceId () const =0
 Returns any identifier the store may have attached to this object.
virtual void encode (framing::Buffer &buffer) const =0
 Encodes the persistable state of this object into the supplied buffer.
virtual uint32_t encodedSize () const =0

Detailed Description

Base class for all persistable objects.


Member Function Documentation

virtual uint32_t qpid::broker::Persistable::encodedSize (  )  const [pure virtual]

Returns:
the size of the buffer needed to encode this object

Implemented in qpid::broker::BasicMessage, qpid::broker::Message, and qpid::broker::Queue.


The documentation for this class was generated from the following file:
Generated on Tue Apr 17 14:22:14 2007 for Qpid by  doxygen 1.4.7