activemq::connector::stomp::commands::BeginCommand Class Reference

#include <BeginCommand.h>

Inheritance diagram for activemq::connector::stomp::commands::BeginCommand:

activemq::connector::stomp::commands::AbstractCommand< transport::Command > activemq::connector::stomp::commands::StompCommand activemq::transport::Command activemq::connector::stomp::marshal::Marshalable List of all members.

Public Member Functions

 BeginCommand (void)
 BeginCommand (StompFrame *frame)
virtual ~BeginCommand (void)

Protected Member Functions

virtual void initialize (StompFrame &frame)
virtual bool validate (const StompFrame &frame) const

Detailed Description

Begins a Transaction. Transactions in this case apply to sending and acknowledging -- any messages sent or acknowledged during a transaction will be handled atomically based on the transaction.

A transaction Identifier is required and this id will be used for all sends, commits, aborts, or acks.


Constructor & Destructor Documentation

activemq::connector::stomp::commands::BeginCommand::BeginCommand void   )  [inline]
 

activemq::connector::stomp::commands::BeginCommand::BeginCommand StompFrame frame  )  [inline]
 

virtual activemq::connector::stomp::commands::BeginCommand::~BeginCommand void   )  [inline, virtual]
 


Member Function Documentation

virtual void activemq::connector::stomp::commands::BeginCommand::initialize StompFrame frame  )  [inline, protected, virtual]
 

Inheritors are required to override this method to init the frame with data appropriate for the command type.

Parameters:
frame Frame to init

Implements activemq::connector::stomp::commands::AbstractCommand< transport::Command >.

virtual bool activemq::connector::stomp::commands::BeginCommand::validate const StompFrame frame  )  const [inline, protected, virtual]
 

Inheritors are required to override this method to validate the passed stomp frame before it is marshalled or unmarshaled

Parameters:
frame Frame to validate
Returns:
true if frame is valid

Implements activemq::connector::stomp::commands::AbstractCommand< transport::Command >.


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 18:03:32 2006 for activemq-cpp by  doxygen 1.4.5