|
activemq-cpp-3.4.0
|
00001 00018 #ifndef _ACTIVEMQ_WIREFORMAT_WIREFORMATFACTORY_H_ 00019 #define _ACTIVEMQ_WIREFORMAT_WIREFORMATFACTORY_H_ 00020 00021 #include <activemq/util/Config.h> 00022 #include <activemq/wireformat/WireFormat.h> 00023 #include <decaf/util/Properties.h> 00024 #include <decaf/lang/Pointer.h> 00025 #include <decaf/lang/exceptions/IllegalStateException.h> 00026 00027 namespace activemq{ 00028 namespace wireformat{ 00029 00030 using decaf::lang::Pointer; 00031 00038 class AMQCPP_API WireFormatFactory { 00039 public: 00040 00041 virtual ~WireFormatFactory() {} 00042 00054 virtual Pointer<WireFormat> createWireFormat( const decaf::util::Properties& properties ) = 0; 00055 00056 }; 00057 00058 }} 00059 00060 #endif /*_ACTIVEMQ_WIREFORMAT_WIREFORMATFACTORY_H_*/