A Composite Transport is a Transport implementation that is composed of several Transports. More...
#include <src/main/activemq/transport/CompositeTransport.h>

Public Member Functions | |
| virtual | ~CompositeTransport () |
| virtual void | addURI (bool rebalance, const List< URI > &uris)=0 |
| Add a URI to the list of URI's that will represent the set of Transports that this Transport is a composite of. | |
| virtual void | removeURI (bool rebalance, const List< URI > &uris)=0 |
| Remove a URI from the set of URI's that represents the set of Transports that this Transport is composed of, removing a URI for which the composite has created a connected Transport should result in that Transport being disposed of. | |
A Composite Transport is a Transport implementation that is composed of several Transports.
The composition could be such that only one Transport exists for each URI that is composed or there could be many active Transports working at once.
| virtual activemq::transport::CompositeTransport::~CompositeTransport | ( | ) | [virtual] |
| virtual void activemq::transport::CompositeTransport::addURI | ( | bool | rebalance, | |
| const List< URI > & | uris | |||
| ) | [pure virtual] |
Add a URI to the list of URI's that will represent the set of Transports that this Transport is a composite of.
| rebalance | Indicates if the addition should cause a forced reconnect or not. | |
| uris | The new URI set to add to the set this composite maintains. |
Implemented in activemq::transport::failover::FailoverTransport.
| virtual void activemq::transport::CompositeTransport::removeURI | ( | bool | rebalance, | |
| const List< URI > & | uris | |||
| ) | [pure virtual] |
Remove a URI from the set of URI's that represents the set of Transports that this Transport is composed of, removing a URI for which the composite has created a connected Transport should result in that Transport being disposed of.
| rebalance | Indicates if the removal should cause a forced reconnect or not. | |
| uris | The new URI set to remove to the set this composite maintains. |
Implemented in activemq::transport::failover::FailoverTransport.
1.6.1