activemq-cpp-3.6.0
activemq::transport::AbstractTransportFactory Class Reference

Abstract implementation of the TransportFactory interface, providing the base functionality that's common to most of the TransportFactory instances. More...

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

Inheritance diagram for activemq::transport::AbstractTransportFactory:

Public Member Functions

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

Protected Member Functions

virtual Pointer
< wireformat::WireFormat
createWireFormat (const decaf::util::Properties &properties)
 Creates the WireFormat that is configured for this Transport and returns it.

Detailed Description

Abstract implementation of the TransportFactory interface, providing the base functionality that's common to most of the TransportFactory instances.

Since
3.0

Constructor & Destructor Documentation

virtual activemq::transport::AbstractTransportFactory::~AbstractTransportFactory ( )
virtual

Member Function Documentation

virtual Pointer<wireformat::WireFormat> activemq::transport::AbstractTransportFactory::createWireFormat ( const decaf::util::Properties properties)
protectedvirtual

Creates the WireFormat that is configured for this Transport and returns it.

The default WireFormat is Openwire.

Parameters
propertiesThe properties that were configured on the URI.
Returns
a pointer to a WireFormat instance that the caller then owns.
Exceptions
NoSuchElementExceptionif the configured WireFormat is not found.

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