You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/07/06 05:18:03 UTC
svn commit: r419422 [6/11] - in
/incubator/activemq/trunk/openwire-cpp/src/main/cpp: activemq/
activemq/command/ activemq/protocol/openwire/ activemq/transport/
activemq/transport/tcp/ cms/ ppr/ ppr/io/ ppr/io/encoding/ ppr/net/
ppr/thread/ ppr/util/
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LastPartialCommand.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LastPartialCommand.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LastPartialCommand.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LastPartialCommand.cpp Wed Jul 5 20:17:58 2006
@@ -1,55 +1,55 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/LastPartialCommand.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for LastPartialCommand
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-LastPartialCommand::LastPartialCommand()
-{
-}
-
-LastPartialCommand::~LastPartialCommand()
-{
-}
-
-unsigned char LastPartialCommand::getDataStructureType()
-{
- return LastPartialCommand::TYPE ;
-}
-
-int LastPartialCommand::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += PartialCommand::marshal(marshaller, mode, ostream) ;
- return size ;
-}
-
-void LastPartialCommand::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- PartialCommand::unmarshal(marshaller, mode, istream) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/LastPartialCommand.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for LastPartialCommand
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+LastPartialCommand::LastPartialCommand()
+{
+}
+
+LastPartialCommand::~LastPartialCommand()
+{
+}
+
+unsigned char LastPartialCommand::getDataStructureType()
+{
+ return LastPartialCommand::TYPE ;
+}
+
+int LastPartialCommand::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += PartialCommand::marshal(marshaller, mode, ostream) ;
+ return size ;
+}
+
+void LastPartialCommand::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ PartialCommand::unmarshal(marshaller, mode, istream) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LastPartialCommand.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LocalTransactionId.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LocalTransactionId.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LocalTransactionId.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LocalTransactionId.cpp Wed Jul 5 20:17:58 2006
@@ -1,83 +1,83 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/LocalTransactionId.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for LocalTransactionId
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-LocalTransactionId::LocalTransactionId()
-{
- this->value = 0 ;
- this->connectionId = NULL ;
-}
-
-LocalTransactionId::~LocalTransactionId()
-{
-}
-
-unsigned char LocalTransactionId::getDataStructureType()
-{
- return LocalTransactionId::TYPE ;
-}
-
-
-long long LocalTransactionId::getValue()
-{
- return value ;
-}
-
-void LocalTransactionId::setValue(long long value)
-{
- this->value = value ;
-}
-
-
-p<ConnectionId> LocalTransactionId::getConnectionId()
-{
- return connectionId ;
-}
-
-void LocalTransactionId::setConnectionId(p<ConnectionId> connectionId)
-{
- this->connectionId = connectionId ;
-}
-
-int LocalTransactionId::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += TransactionId::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalLong(value, mode, ostream) ;
- size += marshaller->marshalObject(connectionId, mode, ostream) ;
- return size ;
-}
-
-void LocalTransactionId::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- TransactionId::unmarshal(marshaller, mode, istream) ;
- value = (marshaller->unmarshalLong(mode, istream)) ;
- connectionId = p_cast<ConnectionId>(marshaller->unmarshalObject(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/LocalTransactionId.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for LocalTransactionId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+LocalTransactionId::LocalTransactionId()
+{
+ this->value = 0 ;
+ this->connectionId = NULL ;
+}
+
+LocalTransactionId::~LocalTransactionId()
+{
+}
+
+unsigned char LocalTransactionId::getDataStructureType()
+{
+ return LocalTransactionId::TYPE ;
+}
+
+
+long long LocalTransactionId::getValue()
+{
+ return value ;
+}
+
+void LocalTransactionId::setValue(long long value)
+{
+ this->value = value ;
+}
+
+
+p<ConnectionId> LocalTransactionId::getConnectionId()
+{
+ return connectionId ;
+}
+
+void LocalTransactionId::setConnectionId(p<ConnectionId> connectionId)
+{
+ this->connectionId = connectionId ;
+}
+
+int LocalTransactionId::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += TransactionId::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalLong(value, mode, ostream) ;
+ size += marshaller->marshalObject(connectionId, mode, ostream) ;
+ return size ;
+}
+
+void LocalTransactionId::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ TransactionId::unmarshal(marshaller, mode, istream) ;
+ value = (marshaller->unmarshalLong(mode, istream)) ;
+ connectionId = p_cast<ConnectionId>(marshaller->unmarshalObject(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/LocalTransactionId.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Message.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Message.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Message.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Message.cpp Wed Jul 5 20:17:58 2006
@@ -1,405 +1,405 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/Message.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for Message
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-Message::Message()
-{
- this->producerId = NULL ;
- this->destination = NULL ;
- this->transactionId = NULL ;
- this->originalDestination = NULL ;
- this->messageId = NULL ;
- this->originalTransactionId = NULL ;
- this->groupID = NULL ;
- this->groupSequence = 0 ;
- this->correlationId = NULL ;
- this->persistent = false ;
- this->expiration = 0 ;
- this->priority = 0 ;
- this->replyTo = NULL ;
- this->timestamp = 0 ;
- this->type = NULL ;
- this->content = NULL ;
- this->marshalledProperties = NULL ;
- this->dataStructure = NULL ;
- this->targetConsumerId = NULL ;
- this->compressed = false ;
- this->redeliveryCounter = 0 ;
- this->brokerPath = NULL ;
- this->arrival = 0 ;
- this->userID = NULL ;
- this->recievedByDFBridge = false ;
-}
-
-Message::~Message()
-{
-}
-
-unsigned char Message::getDataStructureType()
-{
- return Message::TYPE ;
-}
-
-
-p<ProducerId> Message::getProducerId()
-{
- return producerId ;
-}
-
-void Message::setProducerId(p<ProducerId> producerId)
-{
- this->producerId = producerId ;
-}
-
-
-p<ActiveMQDestination> Message::getDestination()
-{
- return destination ;
-}
-
-void Message::setDestination(p<ActiveMQDestination> destination)
-{
- this->destination = destination ;
-}
-
-
-p<TransactionId> Message::getTransactionId()
-{
- return transactionId ;
-}
-
-void Message::setTransactionId(p<TransactionId> transactionId)
-{
- this->transactionId = transactionId ;
-}
-
-
-p<ActiveMQDestination> Message::getOriginalDestination()
-{
- return originalDestination ;
-}
-
-void Message::setOriginalDestination(p<ActiveMQDestination> originalDestination)
-{
- this->originalDestination = originalDestination ;
-}
-
-
-p<MessageId> Message::getMessageId()
-{
- return messageId ;
-}
-
-void Message::setMessageId(p<MessageId> messageId)
-{
- this->messageId = messageId ;
-}
-
-
-p<TransactionId> Message::getOriginalTransactionId()
-{
- return originalTransactionId ;
-}
-
-void Message::setOriginalTransactionId(p<TransactionId> originalTransactionId)
-{
- this->originalTransactionId = originalTransactionId ;
-}
-
-
-p<string> Message::getGroupID()
-{
- return groupID ;
-}
-
-void Message::setGroupID(p<string> groupID)
-{
- this->groupID = groupID ;
-}
-
-
-int Message::getGroupSequence()
-{
- return groupSequence ;
-}
-
-void Message::setGroupSequence(int groupSequence)
-{
- this->groupSequence = groupSequence ;
-}
-
-
-p<string> Message::getCorrelationId()
-{
- return correlationId ;
-}
-
-void Message::setCorrelationId(p<string> correlationId)
-{
- this->correlationId = correlationId ;
-}
-
-
-bool Message::getPersistent()
-{
- return persistent ;
-}
-
-void Message::setPersistent(bool persistent)
-{
- this->persistent = persistent ;
-}
-
-
-long long Message::getExpiration()
-{
- return expiration ;
-}
-
-void Message::setExpiration(long long expiration)
-{
- this->expiration = expiration ;
-}
-
-
-char Message::getPriority()
-{
- return priority ;
-}
-
-void Message::setPriority(char priority)
-{
- this->priority = priority ;
-}
-
-
-p<ActiveMQDestination> Message::getReplyTo()
-{
- return replyTo ;
-}
-
-void Message::setReplyTo(p<ActiveMQDestination> replyTo)
-{
- this->replyTo = replyTo ;
-}
-
-
-long long Message::getTimestamp()
-{
- return timestamp ;
-}
-
-void Message::setTimestamp(long long timestamp)
-{
- this->timestamp = timestamp ;
-}
-
-
-p<string> Message::getType()
-{
- return type ;
-}
-
-void Message::setType(p<string> type)
-{
- this->type = type ;
-}
-
-
-array<char> Message::getContent()
-{
- return content ;
-}
-
-void Message::setContent(array<char> content)
-{
- this->content = content ;
-}
-
-
-array<char> Message::getMarshalledProperties()
-{
- return marshalledProperties ;
-}
-
-void Message::setMarshalledProperties(array<char> marshalledProperties)
-{
- this->marshalledProperties = marshalledProperties ;
-}
-
-
-p<IDataStructure> Message::getDataStructure()
-{
- return dataStructure ;
-}
-
-void Message::setDataStructure(p<IDataStructure> dataStructure)
-{
- this->dataStructure = dataStructure ;
-}
-
-
-p<ConsumerId> Message::getTargetConsumerId()
-{
- return targetConsumerId ;
-}
-
-void Message::setTargetConsumerId(p<ConsumerId> targetConsumerId)
-{
- this->targetConsumerId = targetConsumerId ;
-}
-
-
-bool Message::getCompressed()
-{
- return compressed ;
-}
-
-void Message::setCompressed(bool compressed)
-{
- this->compressed = compressed ;
-}
-
-
-int Message::getRedeliveryCounter()
-{
- return redeliveryCounter ;
-}
-
-void Message::setRedeliveryCounter(int redeliveryCounter)
-{
- this->redeliveryCounter = redeliveryCounter ;
-}
-
-
-array<BrokerId> Message::getBrokerPath()
-{
- return brokerPath ;
-}
-
-void Message::setBrokerPath(array<BrokerId> brokerPath)
-{
- this->brokerPath = brokerPath ;
-}
-
-
-long long Message::getArrival()
-{
- return arrival ;
-}
-
-void Message::setArrival(long long arrival)
-{
- this->arrival = arrival ;
-}
-
-
-p<string> Message::getUserID()
-{
- return userID ;
-}
-
-void Message::setUserID(p<string> userID)
-{
- this->userID = userID ;
-}
-
-
-bool Message::getRecievedByDFBridge()
-{
- return recievedByDFBridge ;
-}
-
-void Message::setRecievedByDFBridge(bool recievedByDFBridge)
-{
- this->recievedByDFBridge = recievedByDFBridge ;
-}
-
-int Message::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseCommand::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalObject(producerId, mode, ostream) ;
- size += marshaller->marshalObject(destination, mode, ostream) ;
- size += marshaller->marshalObject(transactionId, mode, ostream) ;
- size += marshaller->marshalObject(originalDestination, mode, ostream) ;
- size += marshaller->marshalObject(messageId, mode, ostream) ;
- size += marshaller->marshalObject(originalTransactionId, mode, ostream) ;
- size += marshaller->marshalString(groupID, mode, ostream) ;
- size += marshaller->marshalInt(groupSequence, mode, ostream) ;
- size += marshaller->marshalString(correlationId, mode, ostream) ;
- size += marshaller->marshalBoolean(persistent, mode, ostream) ;
- size += marshaller->marshalLong(expiration, mode, ostream) ;
- size += marshaller->marshalByte(priority, mode, ostream) ;
- size += marshaller->marshalObject(replyTo, mode, ostream) ;
- size += marshaller->marshalLong(timestamp, mode, ostream) ;
- size += marshaller->marshalString(type, mode, ostream) ;
- size += marshaller->marshalByteArray(content, mode, ostream) ;
- size += marshaller->marshalByteArray(marshalledProperties, mode, ostream) ;
- size += marshaller->marshalObject(dataStructure, mode, ostream) ;
- size += marshaller->marshalObject(targetConsumerId, mode, ostream) ;
- size += marshaller->marshalBoolean(compressed, mode, ostream) ;
- size += marshaller->marshalInt(redeliveryCounter, mode, ostream) ;
- size += marshaller->marshalObjectArray(brokerPath, mode, ostream) ;
- size += marshaller->marshalLong(arrival, mode, ostream) ;
- size += marshaller->marshalString(userID, mode, ostream) ;
- size += marshaller->marshalBoolean(recievedByDFBridge, mode, ostream) ;
- return size ;
-}
-
-void Message::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseCommand::unmarshal(marshaller, mode, istream) ;
- producerId = p_cast<ProducerId>(marshaller->unmarshalObject(mode, istream)) ;
- destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
- transactionId = p_cast<TransactionId>(marshaller->unmarshalObject(mode, istream)) ;
- originalDestination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
- messageId = p_cast<MessageId>(marshaller->unmarshalObject(mode, istream)) ;
- originalTransactionId = p_cast<TransactionId>(marshaller->unmarshalObject(mode, istream)) ;
- groupID = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
- groupSequence = (marshaller->unmarshalInt(mode, istream)) ;
- correlationId = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
- persistent = (marshaller->unmarshalBoolean(mode, istream)) ;
- expiration = (marshaller->unmarshalLong(mode, istream)) ;
- priority = (marshaller->unmarshalByte(mode, istream)) ;
- replyTo = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
- timestamp = (marshaller->unmarshalLong(mode, istream)) ;
- type = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
- content = (marshaller->unmarshalByteArray(mode, istream)) ;
- marshalledProperties = (marshaller->unmarshalByteArray(mode, istream)) ;
- dataStructure = p_cast<IDataStructure>(marshaller->unmarshalObject(mode, istream)) ;
- targetConsumerId = p_cast<ConsumerId>(marshaller->unmarshalObject(mode, istream)) ;
- compressed = (marshaller->unmarshalBoolean(mode, istream)) ;
- redeliveryCounter = (marshaller->unmarshalInt(mode, istream)) ;
- brokerPath = array_cast<BrokerId>(marshaller->unmarshalObjectArray(mode, istream)) ;
- arrival = (marshaller->unmarshalLong(mode, istream)) ;
- userID = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
- recievedByDFBridge = (marshaller->unmarshalBoolean(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/Message.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for Message
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+Message::Message()
+{
+ this->producerId = NULL ;
+ this->destination = NULL ;
+ this->transactionId = NULL ;
+ this->originalDestination = NULL ;
+ this->messageId = NULL ;
+ this->originalTransactionId = NULL ;
+ this->groupID = NULL ;
+ this->groupSequence = 0 ;
+ this->correlationId = NULL ;
+ this->persistent = false ;
+ this->expiration = 0 ;
+ this->priority = 0 ;
+ this->replyTo = NULL ;
+ this->timestamp = 0 ;
+ this->type = NULL ;
+ this->content = NULL ;
+ this->marshalledProperties = NULL ;
+ this->dataStructure = NULL ;
+ this->targetConsumerId = NULL ;
+ this->compressed = false ;
+ this->redeliveryCounter = 0 ;
+ this->brokerPath = NULL ;
+ this->arrival = 0 ;
+ this->userID = NULL ;
+ this->recievedByDFBridge = false ;
+}
+
+Message::~Message()
+{
+}
+
+unsigned char Message::getDataStructureType()
+{
+ return Message::TYPE ;
+}
+
+
+p<ProducerId> Message::getProducerId()
+{
+ return producerId ;
+}
+
+void Message::setProducerId(p<ProducerId> producerId)
+{
+ this->producerId = producerId ;
+}
+
+
+p<ActiveMQDestination> Message::getDestination()
+{
+ return destination ;
+}
+
+void Message::setDestination(p<ActiveMQDestination> destination)
+{
+ this->destination = destination ;
+}
+
+
+p<TransactionId> Message::getTransactionId()
+{
+ return transactionId ;
+}
+
+void Message::setTransactionId(p<TransactionId> transactionId)
+{
+ this->transactionId = transactionId ;
+}
+
+
+p<ActiveMQDestination> Message::getOriginalDestination()
+{
+ return originalDestination ;
+}
+
+void Message::setOriginalDestination(p<ActiveMQDestination> originalDestination)
+{
+ this->originalDestination = originalDestination ;
+}
+
+
+p<MessageId> Message::getMessageId()
+{
+ return messageId ;
+}
+
+void Message::setMessageId(p<MessageId> messageId)
+{
+ this->messageId = messageId ;
+}
+
+
+p<TransactionId> Message::getOriginalTransactionId()
+{
+ return originalTransactionId ;
+}
+
+void Message::setOriginalTransactionId(p<TransactionId> originalTransactionId)
+{
+ this->originalTransactionId = originalTransactionId ;
+}
+
+
+p<string> Message::getGroupID()
+{
+ return groupID ;
+}
+
+void Message::setGroupID(p<string> groupID)
+{
+ this->groupID = groupID ;
+}
+
+
+int Message::getGroupSequence()
+{
+ return groupSequence ;
+}
+
+void Message::setGroupSequence(int groupSequence)
+{
+ this->groupSequence = groupSequence ;
+}
+
+
+p<string> Message::getCorrelationId()
+{
+ return correlationId ;
+}
+
+void Message::setCorrelationId(p<string> correlationId)
+{
+ this->correlationId = correlationId ;
+}
+
+
+bool Message::getPersistent()
+{
+ return persistent ;
+}
+
+void Message::setPersistent(bool persistent)
+{
+ this->persistent = persistent ;
+}
+
+
+long long Message::getExpiration()
+{
+ return expiration ;
+}
+
+void Message::setExpiration(long long expiration)
+{
+ this->expiration = expiration ;
+}
+
+
+char Message::getPriority()
+{
+ return priority ;
+}
+
+void Message::setPriority(char priority)
+{
+ this->priority = priority ;
+}
+
+
+p<ActiveMQDestination> Message::getReplyTo()
+{
+ return replyTo ;
+}
+
+void Message::setReplyTo(p<ActiveMQDestination> replyTo)
+{
+ this->replyTo = replyTo ;
+}
+
+
+long long Message::getTimestamp()
+{
+ return timestamp ;
+}
+
+void Message::setTimestamp(long long timestamp)
+{
+ this->timestamp = timestamp ;
+}
+
+
+p<string> Message::getType()
+{
+ return type ;
+}
+
+void Message::setType(p<string> type)
+{
+ this->type = type ;
+}
+
+
+array<char> Message::getContent()
+{
+ return content ;
+}
+
+void Message::setContent(array<char> content)
+{
+ this->content = content ;
+}
+
+
+array<char> Message::getMarshalledProperties()
+{
+ return marshalledProperties ;
+}
+
+void Message::setMarshalledProperties(array<char> marshalledProperties)
+{
+ this->marshalledProperties = marshalledProperties ;
+}
+
+
+p<IDataStructure> Message::getDataStructure()
+{
+ return dataStructure ;
+}
+
+void Message::setDataStructure(p<IDataStructure> dataStructure)
+{
+ this->dataStructure = dataStructure ;
+}
+
+
+p<ConsumerId> Message::getTargetConsumerId()
+{
+ return targetConsumerId ;
+}
+
+void Message::setTargetConsumerId(p<ConsumerId> targetConsumerId)
+{
+ this->targetConsumerId = targetConsumerId ;
+}
+
+
+bool Message::getCompressed()
+{
+ return compressed ;
+}
+
+void Message::setCompressed(bool compressed)
+{
+ this->compressed = compressed ;
+}
+
+
+int Message::getRedeliveryCounter()
+{
+ return redeliveryCounter ;
+}
+
+void Message::setRedeliveryCounter(int redeliveryCounter)
+{
+ this->redeliveryCounter = redeliveryCounter ;
+}
+
+
+array<BrokerId> Message::getBrokerPath()
+{
+ return brokerPath ;
+}
+
+void Message::setBrokerPath(array<BrokerId> brokerPath)
+{
+ this->brokerPath = brokerPath ;
+}
+
+
+long long Message::getArrival()
+{
+ return arrival ;
+}
+
+void Message::setArrival(long long arrival)
+{
+ this->arrival = arrival ;
+}
+
+
+p<string> Message::getUserID()
+{
+ return userID ;
+}
+
+void Message::setUserID(p<string> userID)
+{
+ this->userID = userID ;
+}
+
+
+bool Message::getRecievedByDFBridge()
+{
+ return recievedByDFBridge ;
+}
+
+void Message::setRecievedByDFBridge(bool recievedByDFBridge)
+{
+ this->recievedByDFBridge = recievedByDFBridge ;
+}
+
+int Message::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseCommand::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalObject(producerId, mode, ostream) ;
+ size += marshaller->marshalObject(destination, mode, ostream) ;
+ size += marshaller->marshalObject(transactionId, mode, ostream) ;
+ size += marshaller->marshalObject(originalDestination, mode, ostream) ;
+ size += marshaller->marshalObject(messageId, mode, ostream) ;
+ size += marshaller->marshalObject(originalTransactionId, mode, ostream) ;
+ size += marshaller->marshalString(groupID, mode, ostream) ;
+ size += marshaller->marshalInt(groupSequence, mode, ostream) ;
+ size += marshaller->marshalString(correlationId, mode, ostream) ;
+ size += marshaller->marshalBoolean(persistent, mode, ostream) ;
+ size += marshaller->marshalLong(expiration, mode, ostream) ;
+ size += marshaller->marshalByte(priority, mode, ostream) ;
+ size += marshaller->marshalObject(replyTo, mode, ostream) ;
+ size += marshaller->marshalLong(timestamp, mode, ostream) ;
+ size += marshaller->marshalString(type, mode, ostream) ;
+ size += marshaller->marshalByteArray(content, mode, ostream) ;
+ size += marshaller->marshalByteArray(marshalledProperties, mode, ostream) ;
+ size += marshaller->marshalObject(dataStructure, mode, ostream) ;
+ size += marshaller->marshalObject(targetConsumerId, mode, ostream) ;
+ size += marshaller->marshalBoolean(compressed, mode, ostream) ;
+ size += marshaller->marshalInt(redeliveryCounter, mode, ostream) ;
+ size += marshaller->marshalObjectArray(brokerPath, mode, ostream) ;
+ size += marshaller->marshalLong(arrival, mode, ostream) ;
+ size += marshaller->marshalString(userID, mode, ostream) ;
+ size += marshaller->marshalBoolean(recievedByDFBridge, mode, ostream) ;
+ return size ;
+}
+
+void Message::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseCommand::unmarshal(marshaller, mode, istream) ;
+ producerId = p_cast<ProducerId>(marshaller->unmarshalObject(mode, istream)) ;
+ destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
+ transactionId = p_cast<TransactionId>(marshaller->unmarshalObject(mode, istream)) ;
+ originalDestination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
+ messageId = p_cast<MessageId>(marshaller->unmarshalObject(mode, istream)) ;
+ originalTransactionId = p_cast<TransactionId>(marshaller->unmarshalObject(mode, istream)) ;
+ groupID = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
+ groupSequence = (marshaller->unmarshalInt(mode, istream)) ;
+ correlationId = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
+ persistent = (marshaller->unmarshalBoolean(mode, istream)) ;
+ expiration = (marshaller->unmarshalLong(mode, istream)) ;
+ priority = (marshaller->unmarshalByte(mode, istream)) ;
+ replyTo = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
+ timestamp = (marshaller->unmarshalLong(mode, istream)) ;
+ type = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
+ content = (marshaller->unmarshalByteArray(mode, istream)) ;
+ marshalledProperties = (marshaller->unmarshalByteArray(mode, istream)) ;
+ dataStructure = p_cast<IDataStructure>(marshaller->unmarshalObject(mode, istream)) ;
+ targetConsumerId = p_cast<ConsumerId>(marshaller->unmarshalObject(mode, istream)) ;
+ compressed = (marshaller->unmarshalBoolean(mode, istream)) ;
+ redeliveryCounter = (marshaller->unmarshalInt(mode, istream)) ;
+ brokerPath = array_cast<BrokerId>(marshaller->unmarshalObjectArray(mode, istream)) ;
+ arrival = (marshaller->unmarshalLong(mode, istream)) ;
+ userID = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
+ recievedByDFBridge = (marshaller->unmarshalBoolean(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Message.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageAck.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageAck.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageAck.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageAck.cpp Wed Jul 5 20:17:58 2006
@@ -1,153 +1,153 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/MessageAck.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for MessageAck
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-MessageAck::MessageAck()
-{
- this->destination = NULL ;
- this->transactionId = NULL ;
- this->consumerId = NULL ;
- this->ackType = 0 ;
- this->firstMessageId = NULL ;
- this->lastMessageId = NULL ;
- this->messageCount = 0 ;
-}
-
-MessageAck::~MessageAck()
-{
-}
-
-unsigned char MessageAck::getDataStructureType()
-{
- return MessageAck::TYPE ;
-}
-
-
-p<ActiveMQDestination> MessageAck::getDestination()
-{
- return destination ;
-}
-
-void MessageAck::setDestination(p<ActiveMQDestination> destination)
-{
- this->destination = destination ;
-}
-
-
-p<TransactionId> MessageAck::getTransactionId()
-{
- return transactionId ;
-}
-
-void MessageAck::setTransactionId(p<TransactionId> transactionId)
-{
- this->transactionId = transactionId ;
-}
-
-
-p<ConsumerId> MessageAck::getConsumerId()
-{
- return consumerId ;
-}
-
-void MessageAck::setConsumerId(p<ConsumerId> consumerId)
-{
- this->consumerId = consumerId ;
-}
-
-
-char MessageAck::getAckType()
-{
- return ackType ;
-}
-
-void MessageAck::setAckType(char ackType)
-{
- this->ackType = ackType ;
-}
-
-
-p<MessageId> MessageAck::getFirstMessageId()
-{
- return firstMessageId ;
-}
-
-void MessageAck::setFirstMessageId(p<MessageId> firstMessageId)
-{
- this->firstMessageId = firstMessageId ;
-}
-
-
-p<MessageId> MessageAck::getLastMessageId()
-{
- return lastMessageId ;
-}
-
-void MessageAck::setLastMessageId(p<MessageId> lastMessageId)
-{
- this->lastMessageId = lastMessageId ;
-}
-
-
-int MessageAck::getMessageCount()
-{
- return messageCount ;
-}
-
-void MessageAck::setMessageCount(int messageCount)
-{
- this->messageCount = messageCount ;
-}
-
-int MessageAck::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseCommand::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalObject(destination, mode, ostream) ;
- size += marshaller->marshalObject(transactionId, mode, ostream) ;
- size += marshaller->marshalObject(consumerId, mode, ostream) ;
- size += marshaller->marshalByte(ackType, mode, ostream) ;
- size += marshaller->marshalObject(firstMessageId, mode, ostream) ;
- size += marshaller->marshalObject(lastMessageId, mode, ostream) ;
- size += marshaller->marshalInt(messageCount, mode, ostream) ;
- return size ;
-}
-
-void MessageAck::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseCommand::unmarshal(marshaller, mode, istream) ;
- destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
- transactionId = p_cast<TransactionId>(marshaller->unmarshalObject(mode, istream)) ;
- consumerId = p_cast<ConsumerId>(marshaller->unmarshalObject(mode, istream)) ;
- ackType = (marshaller->unmarshalByte(mode, istream)) ;
- firstMessageId = p_cast<MessageId>(marshaller->unmarshalObject(mode, istream)) ;
- lastMessageId = p_cast<MessageId>(marshaller->unmarshalObject(mode, istream)) ;
- messageCount = (marshaller->unmarshalInt(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/MessageAck.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for MessageAck
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+MessageAck::MessageAck()
+{
+ this->destination = NULL ;
+ this->transactionId = NULL ;
+ this->consumerId = NULL ;
+ this->ackType = 0 ;
+ this->firstMessageId = NULL ;
+ this->lastMessageId = NULL ;
+ this->messageCount = 0 ;
+}
+
+MessageAck::~MessageAck()
+{
+}
+
+unsigned char MessageAck::getDataStructureType()
+{
+ return MessageAck::TYPE ;
+}
+
+
+p<ActiveMQDestination> MessageAck::getDestination()
+{
+ return destination ;
+}
+
+void MessageAck::setDestination(p<ActiveMQDestination> destination)
+{
+ this->destination = destination ;
+}
+
+
+p<TransactionId> MessageAck::getTransactionId()
+{
+ return transactionId ;
+}
+
+void MessageAck::setTransactionId(p<TransactionId> transactionId)
+{
+ this->transactionId = transactionId ;
+}
+
+
+p<ConsumerId> MessageAck::getConsumerId()
+{
+ return consumerId ;
+}
+
+void MessageAck::setConsumerId(p<ConsumerId> consumerId)
+{
+ this->consumerId = consumerId ;
+}
+
+
+char MessageAck::getAckType()
+{
+ return ackType ;
+}
+
+void MessageAck::setAckType(char ackType)
+{
+ this->ackType = ackType ;
+}
+
+
+p<MessageId> MessageAck::getFirstMessageId()
+{
+ return firstMessageId ;
+}
+
+void MessageAck::setFirstMessageId(p<MessageId> firstMessageId)
+{
+ this->firstMessageId = firstMessageId ;
+}
+
+
+p<MessageId> MessageAck::getLastMessageId()
+{
+ return lastMessageId ;
+}
+
+void MessageAck::setLastMessageId(p<MessageId> lastMessageId)
+{
+ this->lastMessageId = lastMessageId ;
+}
+
+
+int MessageAck::getMessageCount()
+{
+ return messageCount ;
+}
+
+void MessageAck::setMessageCount(int messageCount)
+{
+ this->messageCount = messageCount ;
+}
+
+int MessageAck::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseCommand::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalObject(destination, mode, ostream) ;
+ size += marshaller->marshalObject(transactionId, mode, ostream) ;
+ size += marshaller->marshalObject(consumerId, mode, ostream) ;
+ size += marshaller->marshalByte(ackType, mode, ostream) ;
+ size += marshaller->marshalObject(firstMessageId, mode, ostream) ;
+ size += marshaller->marshalObject(lastMessageId, mode, ostream) ;
+ size += marshaller->marshalInt(messageCount, mode, ostream) ;
+ return size ;
+}
+
+void MessageAck::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseCommand::unmarshal(marshaller, mode, istream) ;
+ destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
+ transactionId = p_cast<TransactionId>(marshaller->unmarshalObject(mode, istream)) ;
+ consumerId = p_cast<ConsumerId>(marshaller->unmarshalObject(mode, istream)) ;
+ ackType = (marshaller->unmarshalByte(mode, istream)) ;
+ firstMessageId = p_cast<MessageId>(marshaller->unmarshalObject(mode, istream)) ;
+ lastMessageId = p_cast<MessageId>(marshaller->unmarshalObject(mode, istream)) ;
+ messageCount = (marshaller->unmarshalInt(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageAck.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatch.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatch.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatch.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatch.cpp Wed Jul 5 20:17:58 2006
@@ -1,111 +1,111 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/MessageDispatch.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for MessageDispatch
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-MessageDispatch::MessageDispatch()
-{
- this->consumerId = NULL ;
- this->destination = NULL ;
- this->message = NULL ;
- this->redeliveryCounter = 0 ;
-}
-
-MessageDispatch::~MessageDispatch()
-{
-}
-
-unsigned char MessageDispatch::getDataStructureType()
-{
- return MessageDispatch::TYPE ;
-}
-
-
-p<ConsumerId> MessageDispatch::getConsumerId()
-{
- return consumerId ;
-}
-
-void MessageDispatch::setConsumerId(p<ConsumerId> consumerId)
-{
- this->consumerId = consumerId ;
-}
-
-
-p<ActiveMQDestination> MessageDispatch::getDestination()
-{
- return destination ;
-}
-
-void MessageDispatch::setDestination(p<ActiveMQDestination> destination)
-{
- this->destination = destination ;
-}
-
-
-p<Message> MessageDispatch::getMessage()
-{
- return message ;
-}
-
-void MessageDispatch::setMessage(p<Message> message)
-{
- this->message = message ;
-}
-
-
-int MessageDispatch::getRedeliveryCounter()
-{
- return redeliveryCounter ;
-}
-
-void MessageDispatch::setRedeliveryCounter(int redeliveryCounter)
-{
- this->redeliveryCounter = redeliveryCounter ;
-}
-
-int MessageDispatch::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseCommand::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalObject(consumerId, mode, ostream) ;
- size += marshaller->marshalObject(destination, mode, ostream) ;
- size += marshaller->marshalObject(message, mode, ostream) ;
- size += marshaller->marshalInt(redeliveryCounter, mode, ostream) ;
- return size ;
-}
-
-void MessageDispatch::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseCommand::unmarshal(marshaller, mode, istream) ;
- consumerId = p_cast<ConsumerId>(marshaller->unmarshalObject(mode, istream)) ;
- destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
- message = p_cast<Message>(marshaller->unmarshalObject(mode, istream)) ;
- redeliveryCounter = (marshaller->unmarshalInt(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/MessageDispatch.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for MessageDispatch
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+MessageDispatch::MessageDispatch()
+{
+ this->consumerId = NULL ;
+ this->destination = NULL ;
+ this->message = NULL ;
+ this->redeliveryCounter = 0 ;
+}
+
+MessageDispatch::~MessageDispatch()
+{
+}
+
+unsigned char MessageDispatch::getDataStructureType()
+{
+ return MessageDispatch::TYPE ;
+}
+
+
+p<ConsumerId> MessageDispatch::getConsumerId()
+{
+ return consumerId ;
+}
+
+void MessageDispatch::setConsumerId(p<ConsumerId> consumerId)
+{
+ this->consumerId = consumerId ;
+}
+
+
+p<ActiveMQDestination> MessageDispatch::getDestination()
+{
+ return destination ;
+}
+
+void MessageDispatch::setDestination(p<ActiveMQDestination> destination)
+{
+ this->destination = destination ;
+}
+
+
+p<Message> MessageDispatch::getMessage()
+{
+ return message ;
+}
+
+void MessageDispatch::setMessage(p<Message> message)
+{
+ this->message = message ;
+}
+
+
+int MessageDispatch::getRedeliveryCounter()
+{
+ return redeliveryCounter ;
+}
+
+void MessageDispatch::setRedeliveryCounter(int redeliveryCounter)
+{
+ this->redeliveryCounter = redeliveryCounter ;
+}
+
+int MessageDispatch::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseCommand::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalObject(consumerId, mode, ostream) ;
+ size += marshaller->marshalObject(destination, mode, ostream) ;
+ size += marshaller->marshalObject(message, mode, ostream) ;
+ size += marshaller->marshalInt(redeliveryCounter, mode, ostream) ;
+ return size ;
+}
+
+void MessageDispatch::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseCommand::unmarshal(marshaller, mode, istream) ;
+ consumerId = p_cast<ConsumerId>(marshaller->unmarshalObject(mode, istream)) ;
+ destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
+ message = p_cast<Message>(marshaller->unmarshalObject(mode, istream)) ;
+ redeliveryCounter = (marshaller->unmarshalInt(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatch.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatchNotification.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatchNotification.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatchNotification.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatchNotification.cpp Wed Jul 5 20:17:58 2006
@@ -1,111 +1,111 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/MessageDispatchNotification.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for MessageDispatchNotification
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-MessageDispatchNotification::MessageDispatchNotification()
-{
- this->consumerId = NULL ;
- this->destination = NULL ;
- this->deliverySequenceId = 0 ;
- this->messageId = NULL ;
-}
-
-MessageDispatchNotification::~MessageDispatchNotification()
-{
-}
-
-unsigned char MessageDispatchNotification::getDataStructureType()
-{
- return MessageDispatchNotification::TYPE ;
-}
-
-
-p<ConsumerId> MessageDispatchNotification::getConsumerId()
-{
- return consumerId ;
-}
-
-void MessageDispatchNotification::setConsumerId(p<ConsumerId> consumerId)
-{
- this->consumerId = consumerId ;
-}
-
-
-p<ActiveMQDestination> MessageDispatchNotification::getDestination()
-{
- return destination ;
-}
-
-void MessageDispatchNotification::setDestination(p<ActiveMQDestination> destination)
-{
- this->destination = destination ;
-}
-
-
-long long MessageDispatchNotification::getDeliverySequenceId()
-{
- return deliverySequenceId ;
-}
-
-void MessageDispatchNotification::setDeliverySequenceId(long long deliverySequenceId)
-{
- this->deliverySequenceId = deliverySequenceId ;
-}
-
-
-p<MessageId> MessageDispatchNotification::getMessageId()
-{
- return messageId ;
-}
-
-void MessageDispatchNotification::setMessageId(p<MessageId> messageId)
-{
- this->messageId = messageId ;
-}
-
-int MessageDispatchNotification::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseCommand::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalObject(consumerId, mode, ostream) ;
- size += marshaller->marshalObject(destination, mode, ostream) ;
- size += marshaller->marshalLong(deliverySequenceId, mode, ostream) ;
- size += marshaller->marshalObject(messageId, mode, ostream) ;
- return size ;
-}
-
-void MessageDispatchNotification::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseCommand::unmarshal(marshaller, mode, istream) ;
- consumerId = p_cast<ConsumerId>(marshaller->unmarshalObject(mode, istream)) ;
- destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
- deliverySequenceId = (marshaller->unmarshalLong(mode, istream)) ;
- messageId = p_cast<MessageId>(marshaller->unmarshalObject(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/MessageDispatchNotification.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for MessageDispatchNotification
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+MessageDispatchNotification::MessageDispatchNotification()
+{
+ this->consumerId = NULL ;
+ this->destination = NULL ;
+ this->deliverySequenceId = 0 ;
+ this->messageId = NULL ;
+}
+
+MessageDispatchNotification::~MessageDispatchNotification()
+{
+}
+
+unsigned char MessageDispatchNotification::getDataStructureType()
+{
+ return MessageDispatchNotification::TYPE ;
+}
+
+
+p<ConsumerId> MessageDispatchNotification::getConsumerId()
+{
+ return consumerId ;
+}
+
+void MessageDispatchNotification::setConsumerId(p<ConsumerId> consumerId)
+{
+ this->consumerId = consumerId ;
+}
+
+
+p<ActiveMQDestination> MessageDispatchNotification::getDestination()
+{
+ return destination ;
+}
+
+void MessageDispatchNotification::setDestination(p<ActiveMQDestination> destination)
+{
+ this->destination = destination ;
+}
+
+
+long long MessageDispatchNotification::getDeliverySequenceId()
+{
+ return deliverySequenceId ;
+}
+
+void MessageDispatchNotification::setDeliverySequenceId(long long deliverySequenceId)
+{
+ this->deliverySequenceId = deliverySequenceId ;
+}
+
+
+p<MessageId> MessageDispatchNotification::getMessageId()
+{
+ return messageId ;
+}
+
+void MessageDispatchNotification::setMessageId(p<MessageId> messageId)
+{
+ this->messageId = messageId ;
+}
+
+int MessageDispatchNotification::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseCommand::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalObject(consumerId, mode, ostream) ;
+ size += marshaller->marshalObject(destination, mode, ostream) ;
+ size += marshaller->marshalLong(deliverySequenceId, mode, ostream) ;
+ size += marshaller->marshalObject(messageId, mode, ostream) ;
+ return size ;
+}
+
+void MessageDispatchNotification::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseCommand::unmarshal(marshaller, mode, istream) ;
+ consumerId = p_cast<ConsumerId>(marshaller->unmarshalObject(mode, istream)) ;
+ destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
+ deliverySequenceId = (marshaller->unmarshalLong(mode, istream)) ;
+ messageId = p_cast<MessageId>(marshaller->unmarshalObject(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageDispatchNotification.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageId.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageId.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageId.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageId.cpp Wed Jul 5 20:17:58 2006
@@ -1,97 +1,97 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/MessageId.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for MessageId
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-MessageId::MessageId()
-{
- this->producerId = NULL ;
- this->producerSequenceId = 0 ;
- this->brokerSequenceId = 0 ;
-}
-
-MessageId::~MessageId()
-{
-}
-
-unsigned char MessageId::getDataStructureType()
-{
- return MessageId::TYPE ;
-}
-
-
-p<ProducerId> MessageId::getProducerId()
-{
- return producerId ;
-}
-
-void MessageId::setProducerId(p<ProducerId> producerId)
-{
- this->producerId = producerId ;
-}
-
-
-long long MessageId::getProducerSequenceId()
-{
- return producerSequenceId ;
-}
-
-void MessageId::setProducerSequenceId(long long producerSequenceId)
-{
- this->producerSequenceId = producerSequenceId ;
-}
-
-
-long long MessageId::getBrokerSequenceId()
-{
- return brokerSequenceId ;
-}
-
-void MessageId::setBrokerSequenceId(long long brokerSequenceId)
-{
- this->brokerSequenceId = brokerSequenceId ;
-}
-
-int MessageId::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseDataStructure::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalObject(producerId, mode, ostream) ;
- size += marshaller->marshalLong(producerSequenceId, mode, ostream) ;
- size += marshaller->marshalLong(brokerSequenceId, mode, ostream) ;
- return size ;
-}
-
-void MessageId::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseDataStructure::unmarshal(marshaller, mode, istream) ;
- producerId = p_cast<ProducerId>(marshaller->unmarshalObject(mode, istream)) ;
- producerSequenceId = (marshaller->unmarshalLong(mode, istream)) ;
- brokerSequenceId = (marshaller->unmarshalLong(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/MessageId.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for MessageId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+MessageId::MessageId()
+{
+ this->producerId = NULL ;
+ this->producerSequenceId = 0 ;
+ this->brokerSequenceId = 0 ;
+}
+
+MessageId::~MessageId()
+{
+}
+
+unsigned char MessageId::getDataStructureType()
+{
+ return MessageId::TYPE ;
+}
+
+
+p<ProducerId> MessageId::getProducerId()
+{
+ return producerId ;
+}
+
+void MessageId::setProducerId(p<ProducerId> producerId)
+{
+ this->producerId = producerId ;
+}
+
+
+long long MessageId::getProducerSequenceId()
+{
+ return producerSequenceId ;
+}
+
+void MessageId::setProducerSequenceId(long long producerSequenceId)
+{
+ this->producerSequenceId = producerSequenceId ;
+}
+
+
+long long MessageId::getBrokerSequenceId()
+{
+ return brokerSequenceId ;
+}
+
+void MessageId::setBrokerSequenceId(long long brokerSequenceId)
+{
+ this->brokerSequenceId = brokerSequenceId ;
+}
+
+int MessageId::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseDataStructure::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalObject(producerId, mode, ostream) ;
+ size += marshaller->marshalLong(producerSequenceId, mode, ostream) ;
+ size += marshaller->marshalLong(brokerSequenceId, mode, ostream) ;
+ return size ;
+}
+
+void MessageId::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseDataStructure::unmarshal(marshaller, mode, istream) ;
+ producerId = p_cast<ProducerId>(marshaller->unmarshalObject(mode, istream)) ;
+ producerSequenceId = (marshaller->unmarshalLong(mode, istream)) ;
+ brokerSequenceId = (marshaller->unmarshalLong(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/MessageId.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/NetworkBridgeFilter.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/NetworkBridgeFilter.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/NetworkBridgeFilter.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/NetworkBridgeFilter.cpp Wed Jul 5 20:17:58 2006
@@ -1,83 +1,83 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/NetworkBridgeFilter.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for NetworkBridgeFilter
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-NetworkBridgeFilter::NetworkBridgeFilter()
-{
- this->networkTTL = 0 ;
- this->networkBrokerId = NULL ;
-}
-
-NetworkBridgeFilter::~NetworkBridgeFilter()
-{
-}
-
-unsigned char NetworkBridgeFilter::getDataStructureType()
-{
- return NetworkBridgeFilter::TYPE ;
-}
-
-
-int NetworkBridgeFilter::getNetworkTTL()
-{
- return networkTTL ;
-}
-
-void NetworkBridgeFilter::setNetworkTTL(int networkTTL)
-{
- this->networkTTL = networkTTL ;
-}
-
-
-p<BrokerId> NetworkBridgeFilter::getNetworkBrokerId()
-{
- return networkBrokerId ;
-}
-
-void NetworkBridgeFilter::setNetworkBrokerId(p<BrokerId> networkBrokerId)
-{
- this->networkBrokerId = networkBrokerId ;
-}
-
-int NetworkBridgeFilter::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseDataStructure::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalInt(networkTTL, mode, ostream) ;
- size += marshaller->marshalObject(networkBrokerId, mode, ostream) ;
- return size ;
-}
-
-void NetworkBridgeFilter::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseDataStructure::unmarshal(marshaller, mode, istream) ;
- networkTTL = (marshaller->unmarshalInt(mode, istream)) ;
- networkBrokerId = p_cast<BrokerId>(marshaller->unmarshalObject(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/NetworkBridgeFilter.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for NetworkBridgeFilter
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+NetworkBridgeFilter::NetworkBridgeFilter()
+{
+ this->networkTTL = 0 ;
+ this->networkBrokerId = NULL ;
+}
+
+NetworkBridgeFilter::~NetworkBridgeFilter()
+{
+}
+
+unsigned char NetworkBridgeFilter::getDataStructureType()
+{
+ return NetworkBridgeFilter::TYPE ;
+}
+
+
+int NetworkBridgeFilter::getNetworkTTL()
+{
+ return networkTTL ;
+}
+
+void NetworkBridgeFilter::setNetworkTTL(int networkTTL)
+{
+ this->networkTTL = networkTTL ;
+}
+
+
+p<BrokerId> NetworkBridgeFilter::getNetworkBrokerId()
+{
+ return networkBrokerId ;
+}
+
+void NetworkBridgeFilter::setNetworkBrokerId(p<BrokerId> networkBrokerId)
+{
+ this->networkBrokerId = networkBrokerId ;
+}
+
+int NetworkBridgeFilter::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseDataStructure::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalInt(networkTTL, mode, ostream) ;
+ size += marshaller->marshalObject(networkBrokerId, mode, ostream) ;
+ return size ;
+}
+
+void NetworkBridgeFilter::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseDataStructure::unmarshal(marshaller, mode, istream) ;
+ networkTTL = (marshaller->unmarshalInt(mode, istream)) ;
+ networkBrokerId = p_cast<BrokerId>(marshaller->unmarshalObject(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/NetworkBridgeFilter.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/PartialCommand.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/PartialCommand.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/PartialCommand.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/PartialCommand.cpp Wed Jul 5 20:17:58 2006
@@ -1,83 +1,83 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/PartialCommand.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for PartialCommand
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-PartialCommand::PartialCommand()
-{
- this->commandId = 0 ;
- this->data = NULL ;
-}
-
-PartialCommand::~PartialCommand()
-{
-}
-
-unsigned char PartialCommand::getDataStructureType()
-{
- return PartialCommand::TYPE ;
-}
-
-
-int PartialCommand::getCommandId()
-{
- return commandId ;
-}
-
-void PartialCommand::setCommandId(int commandId)
-{
- this->commandId = commandId ;
-}
-
-
-array<char> PartialCommand::getData()
-{
- return data ;
-}
-
-void PartialCommand::setData(array<char> data)
-{
- this->data = data ;
-}
-
-int PartialCommand::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseDataStructure::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalInt(commandId, mode, ostream) ;
- size += marshaller->marshalByteArray(data, mode, ostream) ;
- return size ;
-}
-
-void PartialCommand::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseDataStructure::unmarshal(marshaller, mode, istream) ;
- commandId = (marshaller->unmarshalInt(mode, istream)) ;
- data = (marshaller->unmarshalByteArray(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/PartialCommand.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for PartialCommand
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+PartialCommand::PartialCommand()
+{
+ this->commandId = 0 ;
+ this->data = NULL ;
+}
+
+PartialCommand::~PartialCommand()
+{
+}
+
+unsigned char PartialCommand::getDataStructureType()
+{
+ return PartialCommand::TYPE ;
+}
+
+
+int PartialCommand::getCommandId()
+{
+ return commandId ;
+}
+
+void PartialCommand::setCommandId(int commandId)
+{
+ this->commandId = commandId ;
+}
+
+
+array<char> PartialCommand::getData()
+{
+ return data ;
+}
+
+void PartialCommand::setData(array<char> data)
+{
+ this->data = data ;
+}
+
+int PartialCommand::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseDataStructure::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalInt(commandId, mode, ostream) ;
+ size += marshaller->marshalByteArray(data, mode, ostream) ;
+ return size ;
+}
+
+void PartialCommand::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseDataStructure::unmarshal(marshaller, mode, istream) ;
+ commandId = (marshaller->unmarshalInt(mode, istream)) ;
+ data = (marshaller->unmarshalByteArray(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/PartialCommand.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerId.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerId.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerId.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerId.cpp Wed Jul 5 20:17:58 2006
@@ -1,97 +1,97 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/ProducerId.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for ProducerId
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-ProducerId::ProducerId()
-{
- this->connectionId = NULL ;
- this->value = 0 ;
- this->sessionId = 0 ;
-}
-
-ProducerId::~ProducerId()
-{
-}
-
-unsigned char ProducerId::getDataStructureType()
-{
- return ProducerId::TYPE ;
-}
-
-
-p<string> ProducerId::getConnectionId()
-{
- return connectionId ;
-}
-
-void ProducerId::setConnectionId(p<string> connectionId)
-{
- this->connectionId = connectionId ;
-}
-
-
-long long ProducerId::getValue()
-{
- return value ;
-}
-
-void ProducerId::setValue(long long value)
-{
- this->value = value ;
-}
-
-
-long long ProducerId::getSessionId()
-{
- return sessionId ;
-}
-
-void ProducerId::setSessionId(long long sessionId)
-{
- this->sessionId = sessionId ;
-}
-
-int ProducerId::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseDataStructure::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalString(connectionId, mode, ostream) ;
- size += marshaller->marshalLong(value, mode, ostream) ;
- size += marshaller->marshalLong(sessionId, mode, ostream) ;
- return size ;
-}
-
-void ProducerId::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseDataStructure::unmarshal(marshaller, mode, istream) ;
- connectionId = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
- value = (marshaller->unmarshalLong(mode, istream)) ;
- sessionId = (marshaller->unmarshalLong(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/ProducerId.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ProducerId
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+ProducerId::ProducerId()
+{
+ this->connectionId = NULL ;
+ this->value = 0 ;
+ this->sessionId = 0 ;
+}
+
+ProducerId::~ProducerId()
+{
+}
+
+unsigned char ProducerId::getDataStructureType()
+{
+ return ProducerId::TYPE ;
+}
+
+
+p<string> ProducerId::getConnectionId()
+{
+ return connectionId ;
+}
+
+void ProducerId::setConnectionId(p<string> connectionId)
+{
+ this->connectionId = connectionId ;
+}
+
+
+long long ProducerId::getValue()
+{
+ return value ;
+}
+
+void ProducerId::setValue(long long value)
+{
+ this->value = value ;
+}
+
+
+long long ProducerId::getSessionId()
+{
+ return sessionId ;
+}
+
+void ProducerId::setSessionId(long long sessionId)
+{
+ this->sessionId = sessionId ;
+}
+
+int ProducerId::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseDataStructure::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalString(connectionId, mode, ostream) ;
+ size += marshaller->marshalLong(value, mode, ostream) ;
+ size += marshaller->marshalLong(sessionId, mode, ostream) ;
+ return size ;
+}
+
+void ProducerId::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseDataStructure::unmarshal(marshaller, mode, istream) ;
+ connectionId = p_cast<string>(marshaller->unmarshalString(mode, istream)) ;
+ value = (marshaller->unmarshalLong(mode, istream)) ;
+ sessionId = (marshaller->unmarshalLong(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerId.cpp
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerInfo.cpp
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerInfo.cpp?rev=419422&r1=419421&r2=419422&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerInfo.cpp (original)
+++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerInfo.cpp Wed Jul 5 20:17:58 2006
@@ -1,97 +1,97 @@
-/*
-* Copyright 2006 The Apache Software Foundation or its licensors, as
-* applicable.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-#include "activemq/command/ProducerInfo.hpp"
-
-using namespace apache::activemq::command;
-
-/*
- *
- * Command and marshalling code for OpenWire format for ProducerInfo
- *
- *
- * NOTE!: This file is autogenerated - do not modify!
- * if you need to make a change, please see the Groovy scripts in the
- * activemq-core module
- *
- */
-ProducerInfo::ProducerInfo()
-{
- this->producerId = NULL ;
- this->destination = NULL ;
- this->brokerPath = NULL ;
-}
-
-ProducerInfo::~ProducerInfo()
-{
-}
-
-unsigned char ProducerInfo::getDataStructureType()
-{
- return ProducerInfo::TYPE ;
-}
-
-
-p<ProducerId> ProducerInfo::getProducerId()
-{
- return producerId ;
-}
-
-void ProducerInfo::setProducerId(p<ProducerId> producerId)
-{
- this->producerId = producerId ;
-}
-
-
-p<ActiveMQDestination> ProducerInfo::getDestination()
-{
- return destination ;
-}
-
-void ProducerInfo::setDestination(p<ActiveMQDestination> destination)
-{
- this->destination = destination ;
-}
-
-
-array<BrokerId> ProducerInfo::getBrokerPath()
-{
- return brokerPath ;
-}
-
-void ProducerInfo::setBrokerPath(array<BrokerId> brokerPath)
-{
- this->brokerPath = brokerPath ;
-}
-
-int ProducerInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
- int size = 0 ;
-
- size += BaseCommand::marshal(marshaller, mode, ostream) ;
- size += marshaller->marshalObject(producerId, mode, ostream) ;
- size += marshaller->marshalObject(destination, mode, ostream) ;
- size += marshaller->marshalObjectArray(brokerPath, mode, ostream) ;
- return size ;
-}
-
-void ProducerInfo::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
- BaseCommand::unmarshal(marshaller, mode, istream) ;
- producerId = p_cast<ProducerId>(marshaller->unmarshalObject(mode, istream)) ;
- destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
- brokerPath = array_cast<BrokerId>(marshaller->unmarshalObjectArray(mode, istream)) ;
-}
+/*
+* Copyright 2006 The Apache Software Foundation or its licensors, as
+* applicable.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+#include "activemq/command/ProducerInfo.hpp"
+
+using namespace apache::activemq::command;
+
+/*
+ *
+ * Command and marshalling code for OpenWire format for ProducerInfo
+ *
+ *
+ * NOTE!: This file is autogenerated - do not modify!
+ * if you need to make a change, please see the Groovy scripts in the
+ * activemq-core module
+ *
+ */
+ProducerInfo::ProducerInfo()
+{
+ this->producerId = NULL ;
+ this->destination = NULL ;
+ this->brokerPath = NULL ;
+}
+
+ProducerInfo::~ProducerInfo()
+{
+}
+
+unsigned char ProducerInfo::getDataStructureType()
+{
+ return ProducerInfo::TYPE ;
+}
+
+
+p<ProducerId> ProducerInfo::getProducerId()
+{
+ return producerId ;
+}
+
+void ProducerInfo::setProducerId(p<ProducerId> producerId)
+{
+ this->producerId = producerId ;
+}
+
+
+p<ActiveMQDestination> ProducerInfo::getDestination()
+{
+ return destination ;
+}
+
+void ProducerInfo::setDestination(p<ActiveMQDestination> destination)
+{
+ this->destination = destination ;
+}
+
+
+array<BrokerId> ProducerInfo::getBrokerPath()
+{
+ return brokerPath ;
+}
+
+void ProducerInfo::setBrokerPath(array<BrokerId> brokerPath)
+{
+ this->brokerPath = brokerPath ;
+}
+
+int ProducerInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+ int size = 0 ;
+
+ size += BaseCommand::marshal(marshaller, mode, ostream) ;
+ size += marshaller->marshalObject(producerId, mode, ostream) ;
+ size += marshaller->marshalObject(destination, mode, ostream) ;
+ size += marshaller->marshalObjectArray(brokerPath, mode, ostream) ;
+ return size ;
+}
+
+void ProducerInfo::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+ BaseCommand::unmarshal(marshaller, mode, istream) ;
+ producerId = p_cast<ProducerId>(marshaller->unmarshalObject(mode, istream)) ;
+ destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ;
+ brokerPath = array_cast<BrokerId>(marshaller->unmarshalObjectArray(mode, istream)) ;
+}
Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ProducerInfo.cpp
------------------------------------------------------------------------------
svn:eol-style = native