00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one or more 00003 * contributor license agreements. See the NOTICE file distributed with 00004 * this work for additional information regarding copyright ownership. 00005 * The ASF licenses this file to You under the Apache License, Version 2.0 00006 * (the "License"); you may not use this file except in compliance with 00007 * the License. You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 00018 #ifndef _ACTIVEMQ_COMMANDS_JOURNALTOPICACK_H_ 00019 #define _ACTIVEMQ_COMMANDS_JOURNALTOPICACK_H_ 00020 00021 // Turn off warning message for ignored exception specification 00022 #ifdef _MSC_VER 00023 #pragma warning( disable : 4290 ) 00024 #endif 00025 00026 #include <activemq/commands/ActiveMQDestination.h> 00027 #include <activemq/commands/BaseDataStructure.h> 00028 #include <activemq/commands/MessageId.h> 00029 #include <activemq/commands/TransactionId.h> 00030 #include <activemq/util/Config.h> 00031 #include <decaf/lang/Pointer.h> 00032 #include <string> 00033 #include <vector> 00034 00035 namespace activemq { 00036 namespace commands { 00037 00038 using decaf::lang::Pointer; 00039 00040 /* 00041 * 00042 * Command code for OpenWire format for JournalTopicAck 00043 * 00044 * NOTE!: This file is auto generated - do not modify! 00045 * if you need to make a change, please see the Java Classes 00046 * in the activemq-cpp-openwire-generator module 00047 * 00048 */ 00049 class AMQCPP_API JournalTopicAck : public BaseDataStructure { 00050 protected: 00051 00052 Pointer<ActiveMQDestination> destination; 00053 Pointer<MessageId> messageId; 00054 long long messageSequenceId; 00055 std::string subscritionName; 00056 std::string clientId; 00057 Pointer<TransactionId> transactionId; 00058 00059 public: 00060 00061 const static unsigned char ID_JOURNALTOPICACK = 50; 00062 00063 private: 00064 00065 JournalTopicAck(const JournalTopicAck&); 00066 JournalTopicAck& operator= (const JournalTopicAck&); 00067 00068 public: 00069 00070 JournalTopicAck(); 00071 00072 virtual ~JournalTopicAck(); 00073 00074 virtual unsigned char getDataStructureType() const; 00075 00076 virtual JournalTopicAck* cloneDataStructure() const; 00077 00078 virtual void copyDataStructure(const DataStructure* src); 00079 00080 virtual std::string toString() const; 00081 00082 virtual bool equals(const DataStructure* value) const; 00083 00084 virtual const Pointer<ActiveMQDestination>& getDestination() const; 00085 virtual Pointer<ActiveMQDestination>& getDestination(); 00086 virtual void setDestination( const Pointer<ActiveMQDestination>& destination ); 00087 00088 virtual const Pointer<MessageId>& getMessageId() const; 00089 virtual Pointer<MessageId>& getMessageId(); 00090 virtual void setMessageId( const Pointer<MessageId>& messageId ); 00091 00092 virtual long long getMessageSequenceId() const; 00093 virtual void setMessageSequenceId( long long messageSequenceId ); 00094 00095 virtual const std::string& getSubscritionName() const; 00096 virtual std::string& getSubscritionName(); 00097 virtual void setSubscritionName( const std::string& subscritionName ); 00098 00099 virtual const std::string& getClientId() const; 00100 virtual std::string& getClientId(); 00101 virtual void setClientId( const std::string& clientId ); 00102 00103 virtual const Pointer<TransactionId>& getTransactionId() const; 00104 virtual Pointer<TransactionId>& getTransactionId(); 00105 virtual void setTransactionId( const Pointer<TransactionId>& transactionId ); 00106 00107 }; 00108 00109 }} 00110 00111 #endif /*_ACTIVEMQ_COMMANDS_JOURNALTOPICACK_H_*/
1.6.1