activemq::transport::failover::CloseTransportsTask Class Reference

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

Inheritance diagram for activemq::transport::failover::CloseTransportsTask:
Inheritance graph
[legend]

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.

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:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1