activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
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 GMT
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<IDataStructure> RemoveInfo::getObjectId()
-{
-    return objectId ;
-}
-
-void RemoveInfo::setObjectId(p<IDataStructure> objectId)
-{
-    this->objectId = objectId ;
-}
-
-int RemoveInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
-    int size = 0 ;
-
-    size += BaseCommand::marshal(marshaller, mode, ostream) ; 
-    size += marshaller->marshalObject(objectId, mode, ostream) ; 
-    return size ;
-}
-
-void RemoveInfo::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
-    BaseCommand::unmarshal(marshaller, mode, istream) ; 
-    objectId = p_cast<IDataStructure>(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<IDataStructure> RemoveInfo::getObjectId()
+{
+    return objectId ;
+}
+
+void RemoveInfo::setObjectId(p<IDataStructure> objectId)
+{
+    this->objectId = objectId ;
+}
+
+int RemoveInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+    int size = 0 ;
+
+    size += BaseCommand::marshal(marshaller, mode, ostream) ; 
+    size += marshaller->marshalObject(objectId, mode, ostream) ; 
+    return size ;
+}
+
+void RemoveInfo::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+    BaseCommand::unmarshal(marshaller, mode, istream) ; 
+    objectId = p_cast<IDataStructure>(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<ConnectionId> RemoveSubscriptionInfo::getConnectionId()
-{
-    return connectionId ;
-}
-
-void RemoveSubscriptionInfo::setConnectionId(p<ConnectionId> connectionId)
-{
-    this->connectionId = connectionId ;
-}
-
-        
-p<string> RemoveSubscriptionInfo::getSubcriptionName()
-{
-    return subcriptionName ;
-}
-
-void RemoveSubscriptionInfo::setSubcriptionName(p<string> subcriptionName)
-{
-    this->subcriptionName = subcriptionName ;
-}
-
-        
-p<string> RemoveSubscriptionInfo::getClientId()
-{
-    return clientId ;
-}
-
-void RemoveSubscriptionInfo::setClientId(p<string> clientId)
-{
-    this->clientId = clientId ;
-}
-
-int RemoveSubscriptionInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
-    BaseCommand::unmarshal(marshaller, mode, istream) ; 
-    connectionId = p_cast<ConnectionId>(marshaller->unmarshalObject(mode, istream)) ; 
-    subcriptionName = p_cast<string>(marshaller->unmarshalString(mode, istream)) ; 
-    clientId = p_cast<string>(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<ConnectionId> RemoveSubscriptionInfo::getConnectionId()
+{
+    return connectionId ;
+}
+
+void RemoveSubscriptionInfo::setConnectionId(p<ConnectionId> connectionId)
+{
+    this->connectionId = connectionId ;
+}
+
+        
+p<string> RemoveSubscriptionInfo::getSubcriptionName()
+{
+    return subcriptionName ;
+}
+
+void RemoveSubscriptionInfo::setSubcriptionName(p<string> subcriptionName)
+{
+    this->subcriptionName = subcriptionName ;
+}
+
+        
+p<string> RemoveSubscriptionInfo::getClientId()
+{
+    return clientId ;
+}
+
+void RemoveSubscriptionInfo::setClientId(p<string> clientId)
+{
+    this->clientId = clientId ;
+}
+
+int RemoveSubscriptionInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+    BaseCommand::unmarshal(marshaller, mode, istream) ; 
+    connectionId = p_cast<ConnectionId>(marshaller->unmarshalObject(mode, istream)) ; 
+    subcriptionName = p_cast<string>(marshaller->unmarshalString(mode, istream)) ; 
+    clientId = p_cast<string>(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<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> 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<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> 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<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
-    int size = 0 ;
-
-    size += BaseCommand::marshal(marshaller, mode, ostream) ; 
-    size += marshaller->marshalInt(correlationId, mode, ostream) ; 
-    return size ;
-}
-
-void Response::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> 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<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+    int size = 0 ;
+
+    size += BaseCommand::marshal(marshaller, mode, ostream) ; 
+    size += marshaller->marshalInt(correlationId, mode, ostream) ; 
+    return size ;
+}
+
+void Response::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> 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<string> SessionId::getConnectionId()
-{
-    return connectionId ;
-}
-
-void SessionId::setConnectionId(p<string> connectionId)
-{
-    this->connectionId = connectionId ;
-}
-
-        
-long long SessionId::getValue()
-{
-    return value ;
-}
-
-void SessionId::setValue(long long value)
-{
-    this->value = value ;
-}
-
-int SessionId::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) ; 
-    return size ;
-}
-
-void SessionId::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)) ; 
-}
+/*
+* 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<string> SessionId::getConnectionId()
+{
+    return connectionId ;
+}
+
+void SessionId::setConnectionId(p<string> connectionId)
+{
+    this->connectionId = connectionId ;
+}
+
+        
+long long SessionId::getValue()
+{
+    return value ;
+}
+
+void SessionId::setValue(long long value)
+{
+    this->value = value ;
+}
+
+int SessionId::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) ; 
+    return size ;
+}
+
+void SessionId::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)) ; 
+}

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<SessionId> SessionInfo::getSessionId()
-{
-    return sessionId ;
-}
-
-void SessionInfo::setSessionId(p<SessionId> sessionId)
-{
-    this->sessionId = sessionId ;
-}
-
-int SessionInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
-    int size = 0 ;
-
-    size += BaseCommand::marshal(marshaller, mode, ostream) ; 
-    size += marshaller->marshalObject(sessionId, mode, ostream) ; 
-    return size ;
-}
-
-void SessionInfo::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
-    BaseCommand::unmarshal(marshaller, mode, istream) ; 
-    sessionId = p_cast<SessionId>(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<SessionId> SessionInfo::getSessionId()
+{
+    return sessionId ;
+}
+
+void SessionInfo::setSessionId(p<SessionId> sessionId)
+{
+    this->sessionId = sessionId ;
+}
+
+int SessionInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+    int size = 0 ;
+
+    size += BaseCommand::marshal(marshaller, mode, ostream) ; 
+    size += marshaller->marshalObject(sessionId, mode, ostream) ; 
+    return size ;
+}
+
+void SessionInfo::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+    BaseCommand::unmarshal(marshaller, mode, istream) ; 
+    sessionId = p_cast<SessionId>(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<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
-    int size = 0 ;
-
-    size += BaseCommand::marshal(marshaller, mode, ostream) ; 
-    return size ;
-}
-
-void ShutdownInfo::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> 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<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+    int size = 0 ;
+
+    size += BaseCommand::marshal(marshaller, mode, ostream) ; 
+    return size ;
+}
+
+void ShutdownInfo::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> 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<string> SubscriptionInfo::getClientId()
-{
-    return clientId ;
-}
-
-void SubscriptionInfo::setClientId(p<string> clientId)
-{
-    this->clientId = clientId ;
-}
-
-        
-p<ActiveMQDestination> SubscriptionInfo::getDestination()
-{
-    return destination ;
-}
-
-void SubscriptionInfo::setDestination(p<ActiveMQDestination> destination)
-{
-    this->destination = destination ;
-}
-
-        
-p<string> SubscriptionInfo::getSelector()
-{
-    return selector ;
-}
-
-void SubscriptionInfo::setSelector(p<string> selector)
-{
-    this->selector = selector ;
-}
-
-        
-p<string> SubscriptionInfo::getSubcriptionName()
-{
-    return subcriptionName ;
-}
-
-void SubscriptionInfo::setSubcriptionName(p<string> subcriptionName)
-{
-    this->subcriptionName = subcriptionName ;
-}
-
-int SubscriptionInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
-    BaseDataStructure::unmarshal(marshaller, mode, istream) ; 
-    clientId = p_cast<string>(marshaller->unmarshalString(mode, istream)) ; 
-    destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ; 
-    selector = p_cast<string>(marshaller->unmarshalString(mode, istream)) ; 
-    subcriptionName = p_cast<string>(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<string> SubscriptionInfo::getClientId()
+{
+    return clientId ;
+}
+
+void SubscriptionInfo::setClientId(p<string> clientId)
+{
+    this->clientId = clientId ;
+}
+
+        
+p<ActiveMQDestination> SubscriptionInfo::getDestination()
+{
+    return destination ;
+}
+
+void SubscriptionInfo::setDestination(p<ActiveMQDestination> destination)
+{
+    this->destination = destination ;
+}
+
+        
+p<string> SubscriptionInfo::getSelector()
+{
+    return selector ;
+}
+
+void SubscriptionInfo::setSelector(p<string> selector)
+{
+    this->selector = selector ;
+}
+
+        
+p<string> SubscriptionInfo::getSubcriptionName()
+{
+    return subcriptionName ;
+}
+
+void SubscriptionInfo::setSubcriptionName(p<string> subcriptionName)
+{
+    this->subcriptionName = subcriptionName ;
+}
+
+int SubscriptionInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+    BaseDataStructure::unmarshal(marshaller, mode, istream) ; 
+    clientId = p_cast<string>(marshaller->unmarshalString(mode, istream)) ; 
+    destination = p_cast<ActiveMQDestination>(marshaller->unmarshalObject(mode, istream)) ; 
+    selector = p_cast<string>(marshaller->unmarshalString(mode, istream)) ; 
+    subcriptionName = p_cast<string>(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<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
-{
-    int size = 0 ;
-
-    size += BaseDataStructure::marshal(marshaller, mode, ostream) ; 
-    return size ;
-}
-
-void TransactionId::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> 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<IMarshaller> marshaller, int mode, p<IOutputStream> ostream) throw (IOException)
+{
+    int size = 0 ;
+
+    size += BaseDataStructure::marshal(marshaller, mode, ostream) ; 
+    return size ;
+}
+
+void TransactionId::unmarshal(p<IMarshaller> marshaller, int mode, p<IInputStream> 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<ConnectionId> TransactionInfo::getConnectionId()
-{
-    return connectionId ;
-}
-
-void TransactionInfo::setConnectionId(p<ConnectionId> connectionId)
-{
-    this->connectionId = connectionId ;
-}
-
-        
-p<TransactionId> TransactionInfo::getTransactionId()
-{
-    return transactionId ;
-}
-
-void TransactionInfo::setTransactionId(p<TransactionId> transactionId)
-{
-    this->transactionId = transactionId ;
-}
-
-        
-char TransactionInfo::getType()
-{
-    return type ;
-}
-
-void TransactionInfo::setType(char type)
-{
-    this->type = type ;
-}
-
-int TransactionInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
-{
-    BaseCommand::unmarshal(marshaller, mode, istream) ; 
-    connectionId = p_cast<ConnectionId>(marshaller->unmarshalObject(mode, istream)) ; 
-    transactionId = p_cast<TransactionId>(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<ConnectionId> TransactionInfo::getConnectionId()
+{
+    return connectionId ;
+}
+
+void TransactionInfo::setConnectionId(p<ConnectionId> connectionId)
+{
+    this->connectionId = connectionId ;
+}
+
+        
+p<TransactionId> TransactionInfo::getTransactionId()
+{
+    return transactionId ;
+}
+
+void TransactionInfo::setTransactionId(p<TransactionId> transactionId)
+{
+    this->transactionId = transactionId ;
+}
+
+        
+char TransactionInfo::getType()
+{
+    return type ;
+}
+
+void TransactionInfo::setType(char type)
+{
+    this->type = type ;
+}
+
+int TransactionInfo::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> istream) throw (IOException)
+{
+    BaseCommand::unmarshal(marshaller, mode, istream) ; 
+    connectionId = p_cast<ConnectionId>(marshaller->unmarshalObject(mode, istream)) ; 
+    transactionId = p_cast<TransactionId>(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<char> (8) ;
-    this->version       = 0 ;
-    this->propsByteSize = 0 ;
-    this->properties    = new PropertyMap() ;
-}
-
-unsigned char WireFormatInfo::getDataStructureType()
-{
-    return WireFormatInfo::TYPE ; 
-}
-
-        
-array<char> WireFormatInfo::getMagic()
-{
-    return magic ;
-}
-
-void WireFormatInfo::setMagic(array<char> 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<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> 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<char> (8) ;
+    this->version       = 0 ;
+    this->propsByteSize = 0 ;
+    this->properties    = new PropertyMap() ;
+}
+
+unsigned char WireFormatInfo::getDataStructureType()
+{
+    return WireFormatInfo::TYPE ; 
+}
+
+        
+array<char> WireFormatInfo::getMagic()
+{
+    return magic ;
+}
+
+void WireFormatInfo::setMagic(array<char> 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<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> 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<char> XATransactionId::getGlobalTransactionId()
-{
-    return globalTransactionId ;
-}
-
-void XATransactionId::setGlobalTransactionId(array<char> globalTransactionId)
-{
-    this->globalTransactionId = globalTransactionId ;
-}
-
-        
-array<char> XATransactionId::getBranchQualifier()
-{
-    return branchQualifier ;
-}
-
-void XATransactionId::setBranchQualifier(array<char> branchQualifier)
-{
-    this->branchQualifier = branchQualifier ;
-}
-
-int XATransactionId::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> 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<char> XATransactionId::getGlobalTransactionId()
+{
+    return globalTransactionId ;
+}
+
+void XATransactionId::setGlobalTransactionId(array<char> globalTransactionId)
+{
+    this->globalTransactionId = globalTransactionId ;
+}
+
+        
+array<char> XATransactionId::getBranchQualifier()
+{
+    return branchQualifier ;
+}
+
+void XATransactionId::setBranchQualifier(array<char> branchQualifier)
+{
+    this->branchQualifier = branchQualifier ;
+}
+
+int XATransactionId::marshal(p<IMarshaller> marshaller, int mode, p<IOutputStream> 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<IMarshaller> marshaller, int mode, p<IInputStream> 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



Mime
View raw message