qpid::broker::Persistable Class Reference

Base class for all persistable objects. More...

#include <Persistable.h>

Inheritance diagram for qpid::broker::Persistable:

Inheritance graph
[legend]
Collaboration diagram for qpid::broker::Persistable:

Collaboration 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::Queue.


The documentation for this class was generated from the following file:

Generated on Thu May 15 22:23:23 2008 for Qpid by  doxygen 1.5.5