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:
Inheritance graph
[legend]

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.
virtual Pointer< TransportcreateComposite (const decaf::net::URI &location)
 Creates a slimed down Transport instance which can be used in composite transport instances.

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.

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 (  )  [inline, virtual]

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:
ActiveMQexception if 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:
ActiveMQexception if 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 
) [protected, virtual]

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:
ActiveMQexception if an error occurs

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