activemq-cpp-3.6.0
activemq::transport::failover::CloseTransportsTask Class Reference

#include <src/main/activemq/transport/failover/CloseTransportsTask.h>

Inheritance diagram for activemq::transport::failover::CloseTransportsTask:

Public Member Functions

 CloseTransportsTask ()
virtual ~CloseTransportsTask ()
void add (const Pointer< Transport > transport)
 Add a new Transport to close.
virtual bool isPending () const
 This Task is pending if there are transports in the Queue that need to be closed.
virtual bool iterate ()
 Return true until all transports have been closed and removed from the queue.
- Public Member Functions inherited from activemq::threads::CompositeTask
virtual ~CompositeTask ()
- Public Member Functions inherited from activemq::threads::Task
virtual ~Task ()

Constructor & Destructor Documentation

activemq::transport::failover::CloseTransportsTask::CloseTransportsTask ( )
virtual activemq::transport::failover::CloseTransportsTask::~CloseTransportsTask ( )
virtual

Member Function Documentation

void activemq::transport::failover::CloseTransportsTask::add ( const Pointer< Transport transport)

Add a new Transport to close.

virtual bool activemq::transport::failover::CloseTransportsTask::isPending ( ) const
virtual

This Task is pending if there are transports in the Queue that need to be closed.

Returns
true if there is a transport in the queue that needs closed.

Implements activemq::threads::CompositeTask.

virtual bool activemq::transport::failover::CloseTransportsTask::iterate ( )
virtual

Return true until all transports have been closed and removed from the queue.

Implements activemq::threads::Task.


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