activemq-cpp-3.6.0
activemq::wireformat::WireFormatFactory Class Reference

The WireFormatFactory is the interface that all WireFormatFactory classes must extend. More...

#include <src/main/activemq/wireformat/WireFormatFactory.h>

Inheritance diagram for activemq::wireformat::WireFormatFactory:

Public Member Functions

virtual ~WireFormatFactory ()
virtual Pointer< WireFormatcreateWireFormat (const decaf::util::Properties &properties)=0
 Creates a new WireFormat Object passing it a set of properties from which it can obtain any optional settings.

Detailed Description

The WireFormatFactory is the interface that all WireFormatFactory classes must extend.

The Factory creates a WireFormat Object based on the properties that are set in the passed Properties object.

Constructor & Destructor Documentation

virtual activemq::wireformat::WireFormatFactory::~WireFormatFactory ( )
virtual

Member Function Documentation

virtual Pointer<WireFormat> activemq::wireformat::WireFormatFactory::createWireFormat ( const decaf::util::Properties properties)
pure virtual

Creates a new WireFormat Object passing it a set of properties from which it can obtain any optional settings.

Parameters
propertiesThe Properties for this WireFormat.
Returns
Pointer to a new instance of a WireFormat object.
Exceptions
IllegalStateExceptionif the factory has not been initialized.

Implemented in activemq::wireformat::openwire::OpenWireFormatFactory, and activemq::wireformat::stomp::StompWireFormatFactory.


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