activemq::transport::CompositeTransport Class Reference

A Composite Transport is a Transport implementation that is composed of several Transports. More...

#include <src/main/activemq/transport/CompositeTransport.h>

Inheritance diagram for activemq::transport::CompositeTransport:
Inheritance graph
[legend]

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.

Detailed Description

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.

Since:
3.0

Constructor & Destructor Documentation

virtual activemq::transport::CompositeTransport::~CompositeTransport (  )  [virtual]

Member Function Documentation

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.

Parameters:
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.

Parameters:
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.


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