activemq-cpp-3.9.0
activemq::util::Suspendable Class Referenceabstract

Interface for any resouce that support a suspend / resume style of operation. More...

#include <src/main/activemq/util/Suspendable.h>

Public Member Functions

virtual ~Suspendable ()
 
virtual void suspend ()=0
 Suspend the given resource, all activity within the resource should halt and enter a waiting state. More...
 
virtual void resume ()=0
 Resumes normal operation of this resource after it has been suspended. More...
 

Detailed Description

Interface for any resouce that support a suspend / resume style of operation.

Since
3.9.0

Constructor & Destructor Documentation

virtual activemq::util::Suspendable::~Suspendable ( )
virtual

Member Function Documentation

virtual void activemq::util::Suspendable::resume ( )
pure virtual

Resumes normal operation of this resource after it has been suspended.

Exceptions
Exceptionif an error occurs while the resource is being resumed.
virtual void activemq::util::Suspendable::suspend ( )
pure virtual

Suspend the given resource, all activity within the resource should halt and enter a waiting state.

When a call to resume is made this resource should then resume normal operation.

Exceptions
Exceptionif an error occurs while the resource is being suspended.

The documentation for this class was generated from the following file: