activemq::transport::failover::BackupTransport Class Reference
#include <src/main/activemq/transport/failover/BackupTransport.h>
Constructor & Destructor Documentation
| activemq::transport::failover::BackupTransport::BackupTransport |
( |
BackupTransportPool * |
failover |
) |
|
| virtual activemq::transport::failover::BackupTransport::~BackupTransport |
( |
|
) |
[virtual] |
Member Function Documentation
| const Pointer<Transport>& activemq::transport::failover::BackupTransport::getTransport |
( |
|
) |
[inline] |
Gets the currently held transport.
- Returns:
- pointer to the held transport or NULL if not set.
| decaf::net::URI activemq::transport::failover::BackupTransport::getUri |
( |
|
) |
const [inline] |
Gets the URI assigned to this Backup.
- Returns:
- the assigned URI
| bool activemq::transport::failover::BackupTransport::isClosed |
( |
|
) |
const [inline] |
| bool activemq::transport::failover::BackupTransport::isPriority |
( |
|
) |
const [inline] |
- Returns:
- true if this transport was in the priority backup list.
| virtual void activemq::transport::failover::BackupTransport::onException |
( |
const decaf::lang::Exception & |
ex |
) |
[virtual] |
| void activemq::transport::failover::BackupTransport::setClosed |
( |
bool |
value |
) |
[inline] |
Sets the closed flag on this Transport.
- Parameters:
-
| void activemq::transport::failover::BackupTransport::setPriority |
( |
bool |
value |
) |
[inline] |
Set if this transport is a Priority backup or not.
- Parameters:
-
| value | True if this is a priority backup. |
| void activemq::transport::failover::BackupTransport::setTransport |
( |
const Pointer< Transport > |
transport |
) |
[inline] |
| void activemq::transport::failover::BackupTransport::setUri |
( |
const decaf::net::URI & |
uri |
) |
[inline] |
The documentation for this class was generated from the following file: