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

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:
properties The Properties for this WireFormat.
Returns:
Pointer to a new instance of a WireFormat object.
Exceptions:
IllegalStateException if 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:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1