activemq-cpp-3.6.0
|
Interface for a class that implements the close method. More...
#include <src/main/cms/Closeable.h>
Public Member Functions | |
virtual | ~Closeable () |
virtual void | close ()=0 |
Closes this object and deallocates the appropriate resources. |
Interface for a class that implements the close method.
A class that implements this interface should release all resources upon the close call and should throw an exception from any methods that require those resources after they have been closed.
|
virtual |
|
pure virtual |
Closes this object and deallocates the appropriate resources.
The object is generally no longer usable after calling close.
CMSException | - If an error occurs while the resource is being closed. |
Implemented in activemq::core::ActiveMQConnection, activemq::core::kernels::ActiveMQSessionKernel, cms::Session, activemq::core::kernels::ActiveMQProducerKernel, activemq::core::kernels::ActiveMQConsumerKernel, activemq::core::ActiveMQQueueBrowser, activemq::commands::ActiveMQTempDestination, activemq::cmsutil::PooledSession, cms::Connection, activemq::core::ActiveMQSession, activemq::core::ActiveMQConsumer, activemq::core::ActiveMQProducer, activemq::cmsutil::CachedConsumer, and activemq::cmsutil::CachedProducer.