activemq-cpp-3.9.0
activemq::transport::mock::MockTransportFactory Class Reference

Manufactures MockTransports, which are objects that read from input streams and write to output streams. More...

#include <src/main/activemq/transport/mock/MockTransportFactory.h>

Inheritance diagram for activemq::transport::mock::MockTransportFactory:

Public Member Functions

virtual ~MockTransportFactory ()
 
virtual Pointer< Transportcreate (const decaf::net::URI &location)
 Creates a fully configured Transport instance which could be a chain of filters and transports. More...
 
virtual Pointer< TransportcreateComposite (const decaf::net::URI &location)
 Creates a slimed down Transport instance which can be used in composite transport instances. More...
 
- 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 Pointer< wireformat::WireFormat > wireFormat, const decaf::util::Properties &properties)
 Creates a slimed down Transport instance which can be used in composite transport instances. More...
 
- 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. More...
 

Detailed Description

Manufactures MockTransports, which are objects that read from input streams and write to output streams.

Constructor & Destructor Documentation

virtual activemq::transport::mock::MockTransportFactory::~MockTransportFactory ( )
inlinevirtual

Member Function Documentation

virtual Pointer<Transport> activemq::transport::mock::MockTransportFactory::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::mock::MockTransportFactory::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::mock::MockTransportFactory::doCreateComposite ( const decaf::net::URI location,
const Pointer< wireformat::WireFormat wireFormat,
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.
wireFormat- the assigned WireFormat for the new Transport.
properties- Properties to apply to the transport.
Returns
Pointer to a new Transport instance.
Exceptions
ActiveMQexceptionif an error occurs

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