qpid::SessionState Class Reference

Support for session idempotence barrier and resume as defined in AMQP 0-10. More...

#include <SessionState.h>

Collaboration diagram for qpid::SessionState:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SessionState (const SessionId &=SessionId(), const Configuration &=Configuration())
const SessionIdgetId () const
uint32_t getTimeout () const
void setTimeout (uint32_t seconds)
bool operator== (const SessionId &other) const
bool operator== (const SessionState &other) const
bool hasState () const

Public Attributes

SendState sender
 State for commands sent.
ReceiveState receiver
 State for commands received.

Classes

class  ReceiveState
 State for commands received. More...
class  SendState
 State for commands sent. More...


Detailed Description

Support for session idempotence barrier and resume as defined in AMQP 0-10.

We only issue/use contiguous confirmations, out-of-order confirmation is ignored. Out of order completion is fully supported.

Raises NotImplemented if the command point is set greater than the max currently received command data, either explicitly via session.command-point or implicitly via session.gap.

Partial replay is not supported, replay always begins on a command boundary, and we never confirm partial commands.

The SessionPoint data structure does store offsets so this class could be extended to support partial replay without source-incompatbile API changes.


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

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