activemq-cpp-3.6.0
|
Interface for a class that implements the start method. More...
#include <src/main/cms/Startable.h>
Public Member Functions | |
virtual | ~Startable () |
virtual void | start ()=0 |
Starts the service. |
Interface for a class that implements the start method.
An object that implements the Startable interface implies that until its start method is called it will be considered to be in a closed or stopped state and will throw an Exception to indicate that it is not in an started state if one of its methods is called.
|
virtual |
|
pure virtual |
Starts the service.
CMSException | if an internal error occurs while starting. |
Implemented in activemq::core::ActiveMQConnection, activemq::core::kernels::ActiveMQSessionKernel, activemq::core::kernels::ActiveMQConsumerKernel, activemq::cmsutil::PooledSession, activemq::core::ActiveMQConsumer, activemq::core::ActiveMQSession, and activemq::cmsutil::CachedConsumer.
Referenced by activemq::cmsutil::CachedConsumer::start(), and activemq::cmsutil::PooledSession::start().