activemq::connector::stomp::commands::UnsubscribeCommand Class Reference

#include <UnsubscribeCommand.h>

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

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

 UnsubscribeCommand (void)
 UnsubscribeCommand (StompFrame *frame)
virtual ~UnsubscribeCommand (void)
virtual const char * getDestination (void) const
virtual void setDestination (const std::string &destination)

Protected Member Functions

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

Detailed Description

Command sent to the broker to unsubscribe to a topic or queue.


Constructor & Destructor Documentation

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

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

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


Member Function Documentation

virtual const char* activemq::connector::stomp::commands::UnsubscribeCommand::getDestination void   )  const [inline, virtual]
 

Get the destination

Returns:
the Destination as a string

virtual void activemq::connector::stomp::commands::UnsubscribeCommand::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 void activemq::connector::stomp::commands::UnsubscribeCommand::setDestination const std::string &  destination  )  [inline, virtual]
 

Set the destination

Parameters:
destination the destiantion as a String

virtual bool activemq::connector::stomp::commands::UnsubscribeCommand::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