qpid::SessionState::ReceiveState Class Reference

State for commands received. More...

#include <SessionState.h>

Collaboration diagram for qpid::SessionState::ReceiveState:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void setCommandPoint (const SessionPoint &point)
 Set the command point.
bool record (const framing::AMQFrame &f)
 Returns true if frame should be be processed, false if it is a duplicate.
void completed (SequenceNumber command, bool cumulative=false)
 Command completed locally.
void knownCompleted (const SequenceSet &commands)
 Peer has indicated commands are known completed.
const SessionPointgetExpected () const
 Get the incoming command point.
const SessionPointgetReceived () const
 Get the received high-water-mark, may be > getExpected() during replay.
const SequenceSet & getUnknownComplete () const
 Completed commands that the peer may not know about.
SequenceNumber getCurrent () const
 ID of the command currently being handled.


Detailed Description

State for commands received.

Idempotence barrier for duplicate commands, tracks completion and of received commands.


Member Function Documentation

void qpid::SessionState::ReceiveState::setCommandPoint ( const SessionPoint point  ) 

Set the command point.

bool qpid::SessionState::ReceiveState::record ( const framing::AMQFrame &  f  ) 

Returns true if frame should be be processed, false if it is a duplicate.

SequenceNumber qpid::SessionState::ReceiveState::getCurrent (  )  const

ID of the command currently being handled.


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

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