00001 #ifndef __GEMFIRE_CQ_ATTRIBUTES_FACTORY_H__ 00002 #define __GEMFIRE_CQ_ATTRIBUTES_FACTORY_H__ 00003 /*========================================================================= 00004 * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved. 00005 * This product is protected by U.S. and international copyright 00006 * and intellectual property laws. Pivotal products are covered by 00007 * more patents listed at http://www.pivotal.io/patents. 00008 *======================================================================== 00009 */ 00010 00011 #include "gfcpp_globals.hpp" 00012 #include "gf_types.hpp" 00013 #include "CqAttributes.hpp" 00014 #include "CqListener.hpp" 00015 00020 namespace gemfire 00021 { 00022 00040 class CPPCACHE_EXPORT CqAttributesFactory : public SharedBase 00041 { 00042 public: 00043 00048 CqAttributesFactory(); 00049 00059 CqAttributesFactory(CqAttributesPtr& cqAttributes); 00060 00066 void addCqListener(const CqListenerPtr& cqListener); 00067 00075 void initCqListeners(VectorOfCqListener& cqListeners) ; 00076 00081 CqAttributesPtr create() ; 00082 00083 private: 00084 CqAttributesPtr m_cqAttributes; 00085 00086 }; 00087 00088 } //namespace gemfire 00089 00090 #endif //ifndef __GEMFIRE_CQ_ATTRIBUTES_FACTORY_H__