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

Creates an instance of a FailoverTransport. More...

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

Inheritance diagram for activemq::transport::failover::FailoverTransportFactory:

Public Member Functions

virtual ~FailoverTransportFactory ()
virtual Pointer< Transportcreate (const decaf::net::URI &location)
 Creates a fully configured Transport instance which could be a chain of filters and transports.
virtual Pointer< TransportcreateComposite (const decaf::net::URI &location)
 Creates a slimed down Transport instance which can be used in composite transport instances.
- Public Member Functions inherited from activemq::transport::AbstractTransportFactory
virtual ~AbstractTransportFactory ()
- Public Member Functions inherited from activemq::transport::TransportFactory
virtual ~TransportFactory ()

Protected Member Functions

virtual Pointer< TransportdoCreateComposite (const decaf::net::URI &location, const decaf::util::Properties &properties)
 Creates a slimed down Transport instance which can be used in composite transport instances.
- Protected Member Functions inherited from activemq::transport::AbstractTransportFactory
virtual Pointer
< wireformat::WireFormat
createWireFormat (const decaf::util::Properties &properties)
 Creates the WireFormat that is configured for this Transport and returns it.

Detailed Description

Creates an instance of a FailoverTransport.

Since
3.0

Constructor & Destructor Documentation

virtual activemq::transport::failover::FailoverTransportFactory::~FailoverTransportFactory ( )
inlinevirtual

Member Function Documentation

virtual Pointer<Transport> activemq::transport::failover::FailoverTransportFactory::create ( const decaf::net::URI location)
virtual

Creates a fully configured Transport instance which could be a chain of filters and transports.

Parameters
location- URI location to connect to plus any properties to assign.
Exceptions
ActiveMQexceptionif an error occurs

Implements activemq::transport::TransportFactory.

virtual Pointer<Transport> activemq::transport::failover::FailoverTransportFactory::createComposite ( const decaf::net::URI location)
virtual

Creates a slimed down Transport instance which can be used in composite transport instances.

Parameters
location- URI location to connect to plus any properties to assign.
Exceptions
ActiveMQexceptionif an error occurs

Implements activemq::transport::TransportFactory.

virtual Pointer<Transport> activemq::transport::failover::FailoverTransportFactory::doCreateComposite ( const decaf::net::URI location,
const decaf::util::Properties properties 
)
protectedvirtual

Creates a slimed down Transport instance which can be used in composite transport instances.

Parameters
location- URI location to connect to.
properties- Properties to apply to the transport.
Returns
Pointer to a new FailoverTransport instance.
Exceptions
ActiveMQexceptionif an error occurs

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