Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 97250 invoked from network); 6 Jul 2006 03:19:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 03:19:24 -0000 Received: (qmail 23688 invoked by uid 500); 6 Jul 2006 03:19:18 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 23632 invoked by uid 500); 6 Jul 2006 03:19:17 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 23558 invoked by uid 99); 6 Jul 2006 03:19:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 20:19:15 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 20:19:05 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 7E1081A9829; Wed, 5 Jul 2006 20:18:20 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r419422 [7/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/ Date: Thu, 06 Jul 2006 03:18:03 -0000 To: activemq-commits@geronimo.apache.org From: chirino@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060706031820.7E1081A9829@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveInfo.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveInfo.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveInfo.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveInfo.cpp Wed Jul 5 20:17:58 2006 @@ -1,69 +1,69 @@ -/* -* 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/RemoveInfo.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for RemoveInfo - * - * - * 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 - * - */ -RemoveInfo::RemoveInfo() -{ - this->objectId = NULL ; -} - -RemoveInfo::~RemoveInfo() -{ -} - -unsigned char RemoveInfo::getDataStructureType() -{ - return RemoveInfo::TYPE ; -} - - -p RemoveInfo::getObjectId() -{ - return objectId ; -} - -void RemoveInfo::setObjectId(p objectId) -{ - this->objectId = objectId ; -} - -int RemoveInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseCommand::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalObject(objectId, mode, ostream) ; - return size ; -} - -void RemoveInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseCommand::unmarshal(marshaller, mode, istream) ; - objectId = p_cast(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/RemoveInfo.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for RemoveInfo + * + * + * 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 + * + */ +RemoveInfo::RemoveInfo() +{ + this->objectId = NULL ; +} + +RemoveInfo::~RemoveInfo() +{ +} + +unsigned char RemoveInfo::getDataStructureType() +{ + return RemoveInfo::TYPE ; +} + + +p RemoveInfo::getObjectId() +{ + return objectId ; +} + +void RemoveInfo::setObjectId(p objectId) +{ + this->objectId = objectId ; +} + +int RemoveInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseCommand::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalObject(objectId, mode, ostream) ; + return size ; +} + +void RemoveInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseCommand::unmarshal(marshaller, mode, istream) ; + objectId = p_cast(marshaller->unmarshalObject(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveInfo.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveSubscriptionInfo.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveSubscriptionInfo.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveSubscriptionInfo.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveSubscriptionInfo.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/RemoveSubscriptionInfo.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for RemoveSubscriptionInfo - * - * - * 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 - * - */ -RemoveSubscriptionInfo::RemoveSubscriptionInfo() -{ - this->connectionId = NULL ; - this->subcriptionName = NULL ; - this->clientId = NULL ; -} - -RemoveSubscriptionInfo::~RemoveSubscriptionInfo() -{ -} - -unsigned char RemoveSubscriptionInfo::getDataStructureType() -{ - return RemoveSubscriptionInfo::TYPE ; -} - - -p RemoveSubscriptionInfo::getConnectionId() -{ - return connectionId ; -} - -void RemoveSubscriptionInfo::setConnectionId(p connectionId) -{ - this->connectionId = connectionId ; -} - - -p RemoveSubscriptionInfo::getSubcriptionName() -{ - return subcriptionName ; -} - -void RemoveSubscriptionInfo::setSubcriptionName(p subcriptionName) -{ - this->subcriptionName = subcriptionName ; -} - - -p RemoveSubscriptionInfo::getClientId() -{ - return clientId ; -} - -void RemoveSubscriptionInfo::setClientId(p clientId) -{ - this->clientId = clientId ; -} - -int RemoveSubscriptionInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseCommand::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalObject(connectionId, mode, ostream) ; - size += marshaller->marshalString(subcriptionName, mode, ostream) ; - size += marshaller->marshalString(clientId, mode, ostream) ; - return size ; -} - -void RemoveSubscriptionInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseCommand::unmarshal(marshaller, mode, istream) ; - connectionId = p_cast(marshaller->unmarshalObject(mode, istream)) ; - subcriptionName = p_cast(marshaller->unmarshalString(mode, istream)) ; - clientId = p_cast(marshaller->unmarshalString(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/RemoveSubscriptionInfo.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for RemoveSubscriptionInfo + * + * + * 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 + * + */ +RemoveSubscriptionInfo::RemoveSubscriptionInfo() +{ + this->connectionId = NULL ; + this->subcriptionName = NULL ; + this->clientId = NULL ; +} + +RemoveSubscriptionInfo::~RemoveSubscriptionInfo() +{ +} + +unsigned char RemoveSubscriptionInfo::getDataStructureType() +{ + return RemoveSubscriptionInfo::TYPE ; +} + + +p RemoveSubscriptionInfo::getConnectionId() +{ + return connectionId ; +} + +void RemoveSubscriptionInfo::setConnectionId(p connectionId) +{ + this->connectionId = connectionId ; +} + + +p RemoveSubscriptionInfo::getSubcriptionName() +{ + return subcriptionName ; +} + +void RemoveSubscriptionInfo::setSubcriptionName(p subcriptionName) +{ + this->subcriptionName = subcriptionName ; +} + + +p RemoveSubscriptionInfo::getClientId() +{ + return clientId ; +} + +void RemoveSubscriptionInfo::setClientId(p clientId) +{ + this->clientId = clientId ; +} + +int RemoveSubscriptionInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseCommand::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalObject(connectionId, mode, ostream) ; + size += marshaller->marshalString(subcriptionName, mode, ostream) ; + size += marshaller->marshalString(clientId, mode, ostream) ; + return size ; +} + +void RemoveSubscriptionInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseCommand::unmarshal(marshaller, mode, istream) ; + connectionId = p_cast(marshaller->unmarshalObject(mode, istream)) ; + subcriptionName = p_cast(marshaller->unmarshalString(mode, istream)) ; + clientId = p_cast(marshaller->unmarshalString(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/RemoveSubscriptionInfo.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ReplayCommand.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ReplayCommand.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ReplayCommand.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ReplayCommand.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/ReplayCommand.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for ReplayCommand - * - * - * 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 - * - */ -ReplayCommand::ReplayCommand() -{ - this->firstNakNumber = 0 ; - this->lastNakNumber = 0 ; -} - -ReplayCommand::~ReplayCommand() -{ -} - -unsigned char ReplayCommand::getDataStructureType() -{ - return ReplayCommand::TYPE ; -} - - -int ReplayCommand::getFirstNakNumber() -{ - return firstNakNumber ; -} - -void ReplayCommand::setFirstNakNumber(int firstNakNumber) -{ - this->firstNakNumber = firstNakNumber ; -} - - -int ReplayCommand::getLastNakNumber() -{ - return lastNakNumber ; -} - -void ReplayCommand::setLastNakNumber(int lastNakNumber) -{ - this->lastNakNumber = lastNakNumber ; -} - -int ReplayCommand::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseCommand::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalInt(firstNakNumber, mode, ostream) ; - size += marshaller->marshalInt(lastNakNumber, mode, ostream) ; - return size ; -} - -void ReplayCommand::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseCommand::unmarshal(marshaller, mode, istream) ; - firstNakNumber = (marshaller->unmarshalInt(mode, istream)) ; - lastNakNumber = (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/ReplayCommand.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for ReplayCommand + * + * + * 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 + * + */ +ReplayCommand::ReplayCommand() +{ + this->firstNakNumber = 0 ; + this->lastNakNumber = 0 ; +} + +ReplayCommand::~ReplayCommand() +{ +} + +unsigned char ReplayCommand::getDataStructureType() +{ + return ReplayCommand::TYPE ; +} + + +int ReplayCommand::getFirstNakNumber() +{ + return firstNakNumber ; +} + +void ReplayCommand::setFirstNakNumber(int firstNakNumber) +{ + this->firstNakNumber = firstNakNumber ; +} + + +int ReplayCommand::getLastNakNumber() +{ + return lastNakNumber ; +} + +void ReplayCommand::setLastNakNumber(int lastNakNumber) +{ + this->lastNakNumber = lastNakNumber ; +} + +int ReplayCommand::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseCommand::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalInt(firstNakNumber, mode, ostream) ; + size += marshaller->marshalInt(lastNakNumber, mode, ostream) ; + return size ; +} + +void ReplayCommand::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseCommand::unmarshal(marshaller, mode, istream) ; + firstNakNumber = (marshaller->unmarshalInt(mode, istream)) ; + lastNakNumber = (marshaller->unmarshalInt(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ReplayCommand.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Response.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Response.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Response.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Response.cpp Wed Jul 5 20:17:58 2006 @@ -1,69 +1,69 @@ -/* -* 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/Response.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for Response - * - * - * 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 - * - */ -Response::Response() -{ - this->correlationId = 0 ; -} - -Response::~Response() -{ -} - -unsigned char Response::getDataStructureType() -{ - return Response::TYPE ; -} - - -int Response::getCorrelationId() -{ - return correlationId ; -} - -void Response::setCorrelationId(int correlationId) -{ - this->correlationId = correlationId ; -} - -int Response::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseCommand::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalInt(correlationId, mode, ostream) ; - return size ; -} - -void Response::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseCommand::unmarshal(marshaller, mode, istream) ; - correlationId = (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/Response.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for Response + * + * + * 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 + * + */ +Response::Response() +{ + this->correlationId = 0 ; +} + +Response::~Response() +{ +} + +unsigned char Response::getDataStructureType() +{ + return Response::TYPE ; +} + + +int Response::getCorrelationId() +{ + return correlationId ; +} + +void Response::setCorrelationId(int correlationId) +{ + this->correlationId = correlationId ; +} + +int Response::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseCommand::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalInt(correlationId, mode, ostream) ; + return size ; +} + +void Response::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseCommand::unmarshal(marshaller, mode, istream) ; + correlationId = (marshaller->unmarshalInt(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/Response.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionId.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionId.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionId.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionId.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/SessionId.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for SessionId - * - * - * 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 - * - */ -SessionId::SessionId() -{ - this->connectionId = NULL ; - this->value = 0 ; -} - -SessionId::~SessionId() -{ -} - -unsigned char SessionId::getDataStructureType() -{ - return SessionId::TYPE ; -} - - -p SessionId::getConnectionId() -{ - return connectionId ; -} - -void SessionId::setConnectionId(p connectionId) -{ - this->connectionId = connectionId ; -} - - -long long SessionId::getValue() -{ - return value ; -} - -void SessionId::setValue(long long value) -{ - this->value = value ; -} - -int SessionId::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseDataStructure::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalString(connectionId, mode, ostream) ; - size += marshaller->marshalLong(value, mode, ostream) ; - return size ; -} - -void SessionId::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseDataStructure::unmarshal(marshaller, mode, istream) ; - connectionId = p_cast(marshaller->unmarshalString(mode, istream)) ; - value = (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/SessionId.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for SessionId + * + * + * 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 + * + */ +SessionId::SessionId() +{ + this->connectionId = NULL ; + this->value = 0 ; +} + +SessionId::~SessionId() +{ +} + +unsigned char SessionId::getDataStructureType() +{ + return SessionId::TYPE ; +} + + +p SessionId::getConnectionId() +{ + return connectionId ; +} + +void SessionId::setConnectionId(p connectionId) +{ + this->connectionId = connectionId ; +} + + +long long SessionId::getValue() +{ + return value ; +} + +void SessionId::setValue(long long value) +{ + this->value = value ; +} + +int SessionId::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseDataStructure::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalString(connectionId, mode, ostream) ; + size += marshaller->marshalLong(value, mode, ostream) ; + return size ; +} + +void SessionId::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseDataStructure::unmarshal(marshaller, mode, istream) ; + connectionId = p_cast(marshaller->unmarshalString(mode, istream)) ; + value = (marshaller->unmarshalLong(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionId.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionInfo.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionInfo.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionInfo.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionInfo.cpp Wed Jul 5 20:17:58 2006 @@ -1,69 +1,69 @@ -/* -* 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/SessionInfo.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for SessionInfo - * - * - * 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 - * - */ -SessionInfo::SessionInfo() -{ - this->sessionId = NULL ; -} - -SessionInfo::~SessionInfo() -{ -} - -unsigned char SessionInfo::getDataStructureType() -{ - return SessionInfo::TYPE ; -} - - -p SessionInfo::getSessionId() -{ - return sessionId ; -} - -void SessionInfo::setSessionId(p sessionId) -{ - this->sessionId = sessionId ; -} - -int SessionInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseCommand::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalObject(sessionId, mode, ostream) ; - return size ; -} - -void SessionInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseCommand::unmarshal(marshaller, mode, istream) ; - sessionId = p_cast(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/SessionInfo.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for SessionInfo + * + * + * 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 + * + */ +SessionInfo::SessionInfo() +{ + this->sessionId = NULL ; +} + +SessionInfo::~SessionInfo() +{ +} + +unsigned char SessionInfo::getDataStructureType() +{ + return SessionInfo::TYPE ; +} + + +p SessionInfo::getSessionId() +{ + return sessionId ; +} + +void SessionInfo::setSessionId(p sessionId) +{ + this->sessionId = sessionId ; +} + +int SessionInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseCommand::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalObject(sessionId, mode, ostream) ; + return size ; +} + +void SessionInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseCommand::unmarshal(marshaller, mode, istream) ; + sessionId = p_cast(marshaller->unmarshalObject(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SessionInfo.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ShutdownInfo.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ShutdownInfo.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ShutdownInfo.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ShutdownInfo.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/ShutdownInfo.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for ShutdownInfo - * - * - * 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 - * - */ -ShutdownInfo::ShutdownInfo() -{ -} - -ShutdownInfo::~ShutdownInfo() -{ -} - -unsigned char ShutdownInfo::getDataStructureType() -{ - return ShutdownInfo::TYPE ; -} - -int ShutdownInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseCommand::marshal(marshaller, mode, ostream) ; - return size ; -} - -void ShutdownInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseCommand::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/ShutdownInfo.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for ShutdownInfo + * + * + * 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 + * + */ +ShutdownInfo::ShutdownInfo() +{ +} + +ShutdownInfo::~ShutdownInfo() +{ +} + +unsigned char ShutdownInfo::getDataStructureType() +{ + return ShutdownInfo::TYPE ; +} + +int ShutdownInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseCommand::marshal(marshaller, mode, ostream) ; + return size ; +} + +void ShutdownInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseCommand::unmarshal(marshaller, mode, istream) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/ShutdownInfo.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SubscriptionInfo.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SubscriptionInfo.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SubscriptionInfo.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SubscriptionInfo.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/SubscriptionInfo.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for SubscriptionInfo - * - * - * 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 - * - */ -SubscriptionInfo::SubscriptionInfo() -{ - this->clientId = NULL ; - this->destination = NULL ; - this->selector = NULL ; - this->subcriptionName = NULL ; -} - -SubscriptionInfo::~SubscriptionInfo() -{ -} - -unsigned char SubscriptionInfo::getDataStructureType() -{ - return SubscriptionInfo::TYPE ; -} - - -p SubscriptionInfo::getClientId() -{ - return clientId ; -} - -void SubscriptionInfo::setClientId(p clientId) -{ - this->clientId = clientId ; -} - - -p SubscriptionInfo::getDestination() -{ - return destination ; -} - -void SubscriptionInfo::setDestination(p destination) -{ - this->destination = destination ; -} - - -p SubscriptionInfo::getSelector() -{ - return selector ; -} - -void SubscriptionInfo::setSelector(p selector) -{ - this->selector = selector ; -} - - -p SubscriptionInfo::getSubcriptionName() -{ - return subcriptionName ; -} - -void SubscriptionInfo::setSubcriptionName(p subcriptionName) -{ - this->subcriptionName = subcriptionName ; -} - -int SubscriptionInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseDataStructure::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalString(clientId, mode, ostream) ; - size += marshaller->marshalObject(destination, mode, ostream) ; - size += marshaller->marshalString(selector, mode, ostream) ; - size += marshaller->marshalString(subcriptionName, mode, ostream) ; - return size ; -} - -void SubscriptionInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseDataStructure::unmarshal(marshaller, mode, istream) ; - clientId = p_cast(marshaller->unmarshalString(mode, istream)) ; - destination = p_cast(marshaller->unmarshalObject(mode, istream)) ; - selector = p_cast(marshaller->unmarshalString(mode, istream)) ; - subcriptionName = p_cast(marshaller->unmarshalString(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/SubscriptionInfo.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for SubscriptionInfo + * + * + * 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 + * + */ +SubscriptionInfo::SubscriptionInfo() +{ + this->clientId = NULL ; + this->destination = NULL ; + this->selector = NULL ; + this->subcriptionName = NULL ; +} + +SubscriptionInfo::~SubscriptionInfo() +{ +} + +unsigned char SubscriptionInfo::getDataStructureType() +{ + return SubscriptionInfo::TYPE ; +} + + +p SubscriptionInfo::getClientId() +{ + return clientId ; +} + +void SubscriptionInfo::setClientId(p clientId) +{ + this->clientId = clientId ; +} + + +p SubscriptionInfo::getDestination() +{ + return destination ; +} + +void SubscriptionInfo::setDestination(p destination) +{ + this->destination = destination ; +} + + +p SubscriptionInfo::getSelector() +{ + return selector ; +} + +void SubscriptionInfo::setSelector(p selector) +{ + this->selector = selector ; +} + + +p SubscriptionInfo::getSubcriptionName() +{ + return subcriptionName ; +} + +void SubscriptionInfo::setSubcriptionName(p subcriptionName) +{ + this->subcriptionName = subcriptionName ; +} + +int SubscriptionInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseDataStructure::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalString(clientId, mode, ostream) ; + size += marshaller->marshalObject(destination, mode, ostream) ; + size += marshaller->marshalString(selector, mode, ostream) ; + size += marshaller->marshalString(subcriptionName, mode, ostream) ; + return size ; +} + +void SubscriptionInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseDataStructure::unmarshal(marshaller, mode, istream) ; + clientId = p_cast(marshaller->unmarshalString(mode, istream)) ; + destination = p_cast(marshaller->unmarshalObject(mode, istream)) ; + selector = p_cast(marshaller->unmarshalString(mode, istream)) ; + subcriptionName = p_cast(marshaller->unmarshalString(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/SubscriptionInfo.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionId.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionId.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionId.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionId.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/TransactionId.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for TransactionId - * - * - * 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 - * - */ -TransactionId::TransactionId() -{ -} - -TransactionId::~TransactionId() -{ -} - -unsigned char TransactionId::getDataStructureType() -{ - return TransactionId::TYPE ; -} - -int TransactionId::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseDataStructure::marshal(marshaller, mode, ostream) ; - return size ; -} - -void TransactionId::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseDataStructure::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/TransactionId.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for TransactionId + * + * + * 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 + * + */ +TransactionId::TransactionId() +{ +} + +TransactionId::~TransactionId() +{ +} + +unsigned char TransactionId::getDataStructureType() +{ + return TransactionId::TYPE ; +} + +int TransactionId::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseDataStructure::marshal(marshaller, mode, ostream) ; + return size ; +} + +void TransactionId::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseDataStructure::unmarshal(marshaller, mode, istream) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionId.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionInfo.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionInfo.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionInfo.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionInfo.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/TransactionInfo.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for TransactionInfo - * - * - * 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 - * - */ -TransactionInfo::TransactionInfo() -{ - this->connectionId = NULL ; - this->transactionId = NULL ; - this->type = 0 ; -} - -TransactionInfo::~TransactionInfo() -{ -} - -unsigned char TransactionInfo::getDataStructureType() -{ - return TransactionInfo::TYPE ; -} - - -p TransactionInfo::getConnectionId() -{ - return connectionId ; -} - -void TransactionInfo::setConnectionId(p connectionId) -{ - this->connectionId = connectionId ; -} - - -p TransactionInfo::getTransactionId() -{ - return transactionId ; -} - -void TransactionInfo::setTransactionId(p transactionId) -{ - this->transactionId = transactionId ; -} - - -char TransactionInfo::getType() -{ - return type ; -} - -void TransactionInfo::setType(char type) -{ - this->type = type ; -} - -int TransactionInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += BaseCommand::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalObject(connectionId, mode, ostream) ; - size += marshaller->marshalObject(transactionId, mode, ostream) ; - size += marshaller->marshalByte(type, mode, ostream) ; - return size ; -} - -void TransactionInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - BaseCommand::unmarshal(marshaller, mode, istream) ; - connectionId = p_cast(marshaller->unmarshalObject(mode, istream)) ; - transactionId = p_cast(marshaller->unmarshalObject(mode, istream)) ; - type = (marshaller->unmarshalByte(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/TransactionInfo.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for TransactionInfo + * + * + * 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 + * + */ +TransactionInfo::TransactionInfo() +{ + this->connectionId = NULL ; + this->transactionId = NULL ; + this->type = 0 ; +} + +TransactionInfo::~TransactionInfo() +{ +} + +unsigned char TransactionInfo::getDataStructureType() +{ + return TransactionInfo::TYPE ; +} + + +p TransactionInfo::getConnectionId() +{ + return connectionId ; +} + +void TransactionInfo::setConnectionId(p connectionId) +{ + this->connectionId = connectionId ; +} + + +p TransactionInfo::getTransactionId() +{ + return transactionId ; +} + +void TransactionInfo::setTransactionId(p transactionId) +{ + this->transactionId = transactionId ; +} + + +char TransactionInfo::getType() +{ + return type ; +} + +void TransactionInfo::setType(char type) +{ + this->type = type ; +} + +int TransactionInfo::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += BaseCommand::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalObject(connectionId, mode, ostream) ; + size += marshaller->marshalObject(transactionId, mode, ostream) ; + size += marshaller->marshalByte(type, mode, ostream) ; + return size ; +} + +void TransactionInfo::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + BaseCommand::unmarshal(marshaller, mode, istream) ; + connectionId = p_cast(marshaller->unmarshalObject(mode, istream)) ; + transactionId = p_cast(marshaller->unmarshalObject(mode, istream)) ; + type = (marshaller->unmarshalByte(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/TransactionInfo.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/WireFormatInfo.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/WireFormatInfo.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/WireFormatInfo.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/WireFormatInfo.cpp Wed Jul 5 20:17:58 2006 @@ -1,165 +1,165 @@ -/* -* 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/WireFormatInfo.hpp" - -using namespace apache::activemq::command; - -/* - * - * Marshalling code for Open Wire Format for WireFormatInfo - * - * - * 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 - * - */ -WireFormatInfo::WireFormatInfo() -{ - this->magic = array (8) ; - this->version = 0 ; - this->propsByteSize = 0 ; - this->properties = new PropertyMap() ; -} - -unsigned char WireFormatInfo::getDataStructureType() -{ - return WireFormatInfo::TYPE ; -} - - -array WireFormatInfo::getMagic() -{ - return magic ; -} - -void WireFormatInfo::setMagic(array magic) -{ - this->magic = magic ; -} - - -int WireFormatInfo::getVersion() -{ - return version ; -} - -void WireFormatInfo::setVersion(int version) -{ - this->version = version ; -} - - -bool WireFormatInfo::getCacheEnabled() -{ - return (*properties)["CacheEnabled"].getBoolean() ; -} - -void WireFormatInfo::setCacheEnabled(bool cacheEnabled) -{ - (*properties)["CacheEnabled"] = MapItemHolder(cacheEnabled) ; -} - - -bool WireFormatInfo::getStackTraceEnabled() -{ - return (*properties)["StackTraceEnabled"].getBoolean() ; -} - -void WireFormatInfo::setStackTraceEnabled(bool stackTraceEnabled) -{ - (*properties)["StackTraceEnabled"] = MapItemHolder(stackTraceEnabled) ; -} - - -bool WireFormatInfo::getTcpNoDelayEnabled() -{ - return (*properties)["TcpNoDelayedEnabled"].getBoolean() ; -} - -void WireFormatInfo::setTcpNoDelayEnabled(bool tcpNoDelayEnabled) -{ - (*properties)["TcpNoDelayedEnabled"] = MapItemHolder(tcpNoDelayEnabled) ; -} - - -bool WireFormatInfo::getSizePrefixDisabled() -{ - return (*properties)["SizePrefixDisabled"].getBoolean() ; -} - -void WireFormatInfo::setSizePrefixDisabled(bool sizePrefixDisabled) -{ - (*properties)["SizePrefixDisabled"] = MapItemHolder(sizePrefixDisabled) ; -} - - -bool WireFormatInfo::getTightEncodingEnabled() -{ - return (*properties)["TightEncodingEnabled"].getBoolean() ; -} - -void WireFormatInfo::setTightEncodingEnabled(bool tightEncodingEnabled) -{ - (*properties)["TightEncodingEnabled"] = MapItemHolder(tightEncodingEnabled) ; -} - -int WireFormatInfo::marshal(p marshaller, int mode, p writer) throw (IOException) -{ - int size = 0 ; - - // BUG: Should write array size - //size += marshaller->marshalByteArray(magic, mode, writer) ; - size += (int)magic.size() ; - - if( mode == IMarshaller::MARSHAL_WRITE ) - writer->write(magic.c_array(), 0, size) ; - - size += marshaller->marshalInt(version, mode, writer) ; - size += marshaller->marshalBoolean( properties != NULL, mode, writer) ; - - if( mode == IMarshaller::MARSHAL_SIZE ) - { - //propsByteSize = sizeof(int) ; - propsByteSize += marshaller->marshalMap(properties, mode, writer) ; - size += propsByteSize ; - } - else - { - size += marshaller->marshalInt(propsByteSize, mode, writer) ; - size += marshaller->marshalMap(properties, mode, writer) ; - } - return size ; -} - -void WireFormatInfo::unmarshal(p marshaller, int mode, p reader) throw (IOException) -{ - bool isNonNullProps ; - - // BUG: Should read array size - //magic = marshaller->unmarshalByteArray(mode, reader) ; - reader->read(magic.c_array(), 0, 8) ; - version = marshaller->unmarshalInt(mode, reader) ; - isNonNullProps = marshaller->unmarshalBoolean(mode, reader) ; - if( isNonNullProps ) - { - propsByteSize = marshaller->unmarshalInt(mode, reader) ; - properties = marshaller->unmarshalMap(mode, reader) ; - } - else - properties = NULL ; -} +/* +* 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/WireFormatInfo.hpp" + +using namespace apache::activemq::command; + +/* + * + * Marshalling code for Open Wire Format for WireFormatInfo + * + * + * 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 + * + */ +WireFormatInfo::WireFormatInfo() +{ + this->magic = array (8) ; + this->version = 0 ; + this->propsByteSize = 0 ; + this->properties = new PropertyMap() ; +} + +unsigned char WireFormatInfo::getDataStructureType() +{ + return WireFormatInfo::TYPE ; +} + + +array WireFormatInfo::getMagic() +{ + return magic ; +} + +void WireFormatInfo::setMagic(array magic) +{ + this->magic = magic ; +} + + +int WireFormatInfo::getVersion() +{ + return version ; +} + +void WireFormatInfo::setVersion(int version) +{ + this->version = version ; +} + + +bool WireFormatInfo::getCacheEnabled() +{ + return (*properties)["CacheEnabled"].getBoolean() ; +} + +void WireFormatInfo::setCacheEnabled(bool cacheEnabled) +{ + (*properties)["CacheEnabled"] = MapItemHolder(cacheEnabled) ; +} + + +bool WireFormatInfo::getStackTraceEnabled() +{ + return (*properties)["StackTraceEnabled"].getBoolean() ; +} + +void WireFormatInfo::setStackTraceEnabled(bool stackTraceEnabled) +{ + (*properties)["StackTraceEnabled"] = MapItemHolder(stackTraceEnabled) ; +} + + +bool WireFormatInfo::getTcpNoDelayEnabled() +{ + return (*properties)["TcpNoDelayedEnabled"].getBoolean() ; +} + +void WireFormatInfo::setTcpNoDelayEnabled(bool tcpNoDelayEnabled) +{ + (*properties)["TcpNoDelayedEnabled"] = MapItemHolder(tcpNoDelayEnabled) ; +} + + +bool WireFormatInfo::getSizePrefixDisabled() +{ + return (*properties)["SizePrefixDisabled"].getBoolean() ; +} + +void WireFormatInfo::setSizePrefixDisabled(bool sizePrefixDisabled) +{ + (*properties)["SizePrefixDisabled"] = MapItemHolder(sizePrefixDisabled) ; +} + + +bool WireFormatInfo::getTightEncodingEnabled() +{ + return (*properties)["TightEncodingEnabled"].getBoolean() ; +} + +void WireFormatInfo::setTightEncodingEnabled(bool tightEncodingEnabled) +{ + (*properties)["TightEncodingEnabled"] = MapItemHolder(tightEncodingEnabled) ; +} + +int WireFormatInfo::marshal(p marshaller, int mode, p writer) throw (IOException) +{ + int size = 0 ; + + // BUG: Should write array size + //size += marshaller->marshalByteArray(magic, mode, writer) ; + size += (int)magic.size() ; + + if( mode == IMarshaller::MARSHAL_WRITE ) + writer->write(magic.c_array(), 0, size) ; + + size += marshaller->marshalInt(version, mode, writer) ; + size += marshaller->marshalBoolean( properties != NULL, mode, writer) ; + + if( mode == IMarshaller::MARSHAL_SIZE ) + { + //propsByteSize = sizeof(int) ; + propsByteSize += marshaller->marshalMap(properties, mode, writer) ; + size += propsByteSize ; + } + else + { + size += marshaller->marshalInt(propsByteSize, mode, writer) ; + size += marshaller->marshalMap(properties, mode, writer) ; + } + return size ; +} + +void WireFormatInfo::unmarshal(p marshaller, int mode, p reader) throw (IOException) +{ + bool isNonNullProps ; + + // BUG: Should read array size + //magic = marshaller->unmarshalByteArray(mode, reader) ; + reader->read(magic.c_array(), 0, 8) ; + version = marshaller->unmarshalInt(mode, reader) ; + isNonNullProps = marshaller->unmarshalBoolean(mode, reader) ; + if( isNonNullProps ) + { + propsByteSize = marshaller->unmarshalInt(mode, reader) ; + properties = marshaller->unmarshalMap(mode, reader) ; + } + else + properties = NULL ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/WireFormatInfo.cpp ------------------------------------------------------------------------------ svn:eol-style = native Modified: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/XATransactionId.cpp URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/XATransactionId.cpp?rev=419422&r1=419421&r2=419422&view=diff ============================================================================== --- incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/XATransactionId.cpp (original) +++ incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/XATransactionId.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/XATransactionId.hpp" - -using namespace apache::activemq::command; - -/* - * - * Command and marshalling code for OpenWire format for XATransactionId - * - * - * 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 - * - */ -XATransactionId::XATransactionId() -{ - this->formatId = 0 ; - this->globalTransactionId = NULL ; - this->branchQualifier = NULL ; -} - -XATransactionId::~XATransactionId() -{ -} - -unsigned char XATransactionId::getDataStructureType() -{ - return XATransactionId::TYPE ; -} - - -int XATransactionId::getFormatId() -{ - return formatId ; -} - -void XATransactionId::setFormatId(int formatId) -{ - this->formatId = formatId ; -} - - -array XATransactionId::getGlobalTransactionId() -{ - return globalTransactionId ; -} - -void XATransactionId::setGlobalTransactionId(array globalTransactionId) -{ - this->globalTransactionId = globalTransactionId ; -} - - -array XATransactionId::getBranchQualifier() -{ - return branchQualifier ; -} - -void XATransactionId::setBranchQualifier(array branchQualifier) -{ - this->branchQualifier = branchQualifier ; -} - -int XATransactionId::marshal(p marshaller, int mode, p ostream) throw (IOException) -{ - int size = 0 ; - - size += TransactionId::marshal(marshaller, mode, ostream) ; - size += marshaller->marshalInt(formatId, mode, ostream) ; - size += marshaller->marshalByteArray(globalTransactionId, mode, ostream) ; - size += marshaller->marshalByteArray(branchQualifier, mode, ostream) ; - return size ; -} - -void XATransactionId::unmarshal(p marshaller, int mode, p istream) throw (IOException) -{ - TransactionId::unmarshal(marshaller, mode, istream) ; - formatId = (marshaller->unmarshalInt(mode, istream)) ; - globalTransactionId = (marshaller->unmarshalByteArray(mode, istream)) ; - branchQualifier = (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/XATransactionId.hpp" + +using namespace apache::activemq::command; + +/* + * + * Command and marshalling code for OpenWire format for XATransactionId + * + * + * 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 + * + */ +XATransactionId::XATransactionId() +{ + this->formatId = 0 ; + this->globalTransactionId = NULL ; + this->branchQualifier = NULL ; +} + +XATransactionId::~XATransactionId() +{ +} + +unsigned char XATransactionId::getDataStructureType() +{ + return XATransactionId::TYPE ; +} + + +int XATransactionId::getFormatId() +{ + return formatId ; +} + +void XATransactionId::setFormatId(int formatId) +{ + this->formatId = formatId ; +} + + +array XATransactionId::getGlobalTransactionId() +{ + return globalTransactionId ; +} + +void XATransactionId::setGlobalTransactionId(array globalTransactionId) +{ + this->globalTransactionId = globalTransactionId ; +} + + +array XATransactionId::getBranchQualifier() +{ + return branchQualifier ; +} + +void XATransactionId::setBranchQualifier(array branchQualifier) +{ + this->branchQualifier = branchQualifier ; +} + +int XATransactionId::marshal(p marshaller, int mode, p ostream) throw (IOException) +{ + int size = 0 ; + + size += TransactionId::marshal(marshaller, mode, ostream) ; + size += marshaller->marshalInt(formatId, mode, ostream) ; + size += marshaller->marshalByteArray(globalTransactionId, mode, ostream) ; + size += marshaller->marshalByteArray(branchQualifier, mode, ostream) ; + return size ; +} + +void XATransactionId::unmarshal(p marshaller, int mode, p istream) throw (IOException) +{ + TransactionId::unmarshal(marshaller, mode, istream) ; + formatId = (marshaller->unmarshalInt(mode, istream)) ; + globalTransactionId = (marshaller->unmarshalByteArray(mode, istream)) ; + branchQualifier = (marshaller->unmarshalByteArray(mode, istream)) ; +} Propchange: incubator/activemq/trunk/openwire-cpp/src/main/cpp/activemq/command/XATransactionId.cpp ------------------------------------------------------------------------------ svn:eol-style = native