activemq::connector::stomp::commands::ConnectedCommand Class Reference

#include <ConnectedCommand.h>

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

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

Public Member Functions

 ConnectedCommand (void)
 ConnectedCommand (StompFrame *frame)
virtual ~ConnectedCommand (void)
virtual const char * getSessionId () const
virtual void setSessionId (const std::string &session)

Protected Member Functions

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

Detailed Description

The stomp command returned from the broker indicating a connection has been established.


Constructor & Destructor Documentation

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

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

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


Member Function Documentation

virtual const char* activemq::connector::stomp::commands::ConnectedCommand::getSessionId  )  const [inline, virtual]
 

Get the Session Id

Returns:
the mew Sessoin Id String

virtual void activemq::connector::stomp::commands::ConnectedCommand::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::Response >.

virtual void activemq::connector::stomp::commands::ConnectedCommand::setSessionId const std::string &  session  )  [inline, virtual]
 

Set the Session Id

Parameters:
session string containing the session id

virtual bool activemq::connector::stomp::commands::ConnectedCommand::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::Response >.


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