activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r379827 [1/5] - in /incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client: Commands/ Core/ IO/
Date Wed, 22 Feb 2006 17:45:20 GMT
Author: jstrachan
Date: Wed Feb 22 09:45:12 2006
New Revision: 379827

URL: http://svn.apache.org/viewcvs?rev=379827&view=rev
Log:
latest code generated code for C# which just about compiles now

Added:
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTempDestination.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatchNotification.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/BooleanStream.cs   (with props)
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/DataStreamMarshaller.cs   (with props)
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/DataStructureSupport.cs   (with props)
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/MarshallAware.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/OpenWireFormat.cs   (with props)
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/MarshallerFactory.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/MessageDispatchNotificationMarshaller.cs
Removed:
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/AbstractCommandMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/CommandMarshallerRegistry.cs
Modified:
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQBytesMessage.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMapMessage.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMessage.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQObjectMessage.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQStreamMessage.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTextMessage.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BaseCommand.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionError.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ControlCommand.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataArrayResponse.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataResponse.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DestinationInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DiscoveryEvent.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ExceptionResponse.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/FlushCommand.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/IntegerResponse.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalQueueAck.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTopicAck.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTrace.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTransaction.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/KeepAliveInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/LocalTransactionId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/Message.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageAck.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatch.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ProducerId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ProducerInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/RemoveInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/RemoveSubscriptionInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/Response.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/SessionId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/SessionInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ShutdownInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/SubscriptionInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/TransactionId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/TransactionInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/WireFormatInfo.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/XATransactionId.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/AbstractCommand.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/BrokerError.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/DataStructure.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Core/SocketTransport.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQBytesMessageMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQDestinationMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQMapMessageMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQMessageMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQObjectMessageMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQQueueMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQStreamMessageMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQTempDestinationMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQTempQueueMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQTempTopicMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQTextMessageMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ActiveMQTopicMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/BaseCommandMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/BrokerIdMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/BrokerInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ConnectionErrorMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ConnectionIdMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ConnectionInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ConsumerIdMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ConsumerInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ControlCommandMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/DataArrayResponseMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/DataResponseMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/DestinationInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/DiscoveryEventMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ExceptionResponseMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/FlushCommandMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/IntegerResponseMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/JournalQueueAckMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/JournalTopicAckMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/JournalTraceMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/JournalTransactionMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/KeepAliveInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/LocalTransactionIdMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/MessageAckMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/MessageDispatchMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/MessageIdMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/MessageMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ProducerIdMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ProducerInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/RemoveInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/RemoveSubscriptionInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ResponseMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/SessionIdMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/SessionInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/ShutdownInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/SubscriptionInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/TransactionIdMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/TransactionInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/WireFormatInfoMarshaller.cs
    incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/IO/XATransactionIdMarshaller.cs

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQBytesMessage.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQBytesMessage.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQBytesMessage.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQBytesMessage.cs Wed Feb 22 09:45:12 2006
@@ -18,7 +18,7 @@
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ActiveMQBytesMessage;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMapMessage.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMapMessage.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMapMessage.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMapMessage.cs Wed Feb 22 09:45:12 2006
@@ -18,7 +18,7 @@
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ActiveMQMapMessage;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMessage.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMessage.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMessage.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQMessage.cs Wed Feb 22 09:45:12 2006
@@ -5,7 +5,7 @@
 using OpenWire.Client.Core;
 
 namespace OpenWire.Client.Commands {
-        public class ActiveMQMessage : Message, IMessage {
+        public class ActiveMQMessage : Message, IMessage, MarshallAware {
                 public const byte ID_ActiveMQMessage = 23;
 
                 public static ActiveMQMessage Transform(IMessage message) {
@@ -16,20 +16,37 @@
                 // TODO generate GetHashCode method
                 // TODO generate ToString method
 
-                public override byte GetCommandType() {
-                        return ID_ActiveMQMessage; 
+                public override byte GetDataStructureType() {
+                        return ID_ActiveMQMessage;
                 }
 
-
+                
+                public override bool IsMarshallAware() {
+                        return true; 
+                }     
+                
                 // Properties
                 public IDestination FromDestination {
-                        get {
-                                return Destination;
-                        }
-                        set {
-                                this.Destination = ActiveMQDestination.Transform(value);
-                        }
+                        get { return Destination; } 
+                        set { this.Destination = ActiveMQDestination.Transform(value); } 
+                }
+
+                public void BeforeMarshall(OpenWireFormat wireFormat) {
                 }
 
-        } 
+                public void AfterMarshall(OpenWireFormat wireFormat) {
+                }
+
+                public void BeforeUnmarshall(OpenWireFormat wireFormat) {
+                }
+                public void AfterUnmarshall(OpenWireFormat wireFormat) {
+                }
+
+                public void SetMarshalledForm(OpenWireFormat wireFormat, byte[] data) {
+                }
+
+                public byte[] GetMarshalledForm(OpenWireFormat wireFormat) {
+                        return null;
+                }
+        }
 }

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQObjectMessage.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQObjectMessage.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQObjectMessage.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQObjectMessage.cs Wed Feb 22 09:45:12 2006
@@ -1,3 +1,20 @@
+/*
+* 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.
+*/
+
 using System;
 using System.Collections;
 
@@ -6,19 +23,26 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ActiveMQObjectMessage
+    //
+    //
+    //  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
+    //
     public class ActiveMQObjectMessage : ActiveMQMessage
     {
-    			public const byte ID_ActiveMQObjectMessage = 26;
+        public const byte ID_ActiveMQObjectMessage = 26;
     			
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ActiveMQObjectMessage;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQStreamMessage.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQStreamMessage.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQStreamMessage.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQStreamMessage.cs Wed Feb 22 09:45:12 2006
@@ -18,7 +18,7 @@
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ActiveMQStreamMessage;
         }
 

Added: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTempDestination.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTempDestination.cs?rev=379827&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTempDestination.cs (added)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTempDestination.cs Wed Feb 22 09:45:12 2006
@@ -0,0 +1,53 @@
+/*
+* 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.
+*/
+
+using System;
+using System.Collections;
+
+using OpenWire.Client;
+using OpenWire.Client.Core;
+
+namespace OpenWire.Client.Commands
+{
+    //
+    //  Marshalling code for Open Wire Format for ActiveMQTempDestination
+    //
+    //
+    //  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
+    //
+    public abstract class ActiveMQTempDestination : ActiveMQDestination
+    {
+        public const byte ID_ActiveMQTempDestination = 0;
+    			
+
+
+        // TODO generate Equals method
+        // TODO generate GetHashCode method
+        // TODO generate ToString method
+
+
+        public override byte GetDataStructureType() {
+            return ID_ActiveMQTempDestination;
+        }
+
+
+        // Properties
+
+    }
+}

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTextMessage.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTextMessage.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTextMessage.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ActiveMQTextMessage.cs Wed Feb 22 09:45:12 2006
@@ -22,7 +22,7 @@
                 // TODO generate ToString method
 
 
-                public override byte GetCommandType() {
+                public override byte GetDataStructureType() {
                         return ID_ActiveMQTextMessage; 
                 }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BaseCommand.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BaseCommand.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BaseCommand.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BaseCommand.cs Wed Feb 22 09:45:12 2006
@@ -29,21 +29,21 @@
                 public override bool Equals(Object that) {
                         if (that is BaseCommand) {
                                 BaseCommand thatCommand = (BaseCommand) that;
-                                return this.GetCommandType() == thatCommand.GetCommandType()
+                                return this.GetDataStructureType() == thatCommand.GetDataStructureType()
                                         && this.CommandId == thatCommand.CommandId; 
                         }
                         return false; 
                 }
 
                 public override String ToString() {
-                        string answer = GetCommandTypeAsString(GetCommandType());
+                        string answer = GetDataStructureTypeAsString(GetDataStructureType());
                         if (answer.Length == 0) {
                                 answer = base.ToString(); 
                         }
                         return answer + ": id = " + CommandId; 
                 }
 
-                public override byte GetCommandType() {
+                public override byte GetDataStructureType() {
                         return ID_BaseCommand; 
                 }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerId.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerId.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerId.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerId.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for BrokerId
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,20 +23,27 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for BrokerId
+    //
+    //
+    //  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
+    //
     public class BrokerId : AbstractCommand
     {
-    			public const byte ID_BrokerId = 124;
+        public const byte ID_BrokerId = 124;
     			
         string value;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_BrokerId;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerInfo.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerInfo.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerInfo.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/BrokerInfo.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for BrokerInfo
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,15 +23,23 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for BrokerInfo
+    //
+    //
+    //  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
+    //
     public class BrokerInfo : BaseCommand
     {
-    			public const byte ID_BrokerInfo = 2;
+        public const byte ID_BrokerInfo = 2;
     			
         BrokerId brokerId;
         string brokerURL;
         BrokerInfo[] peerBrokerInfos;
         string brokerName;
-
+        bool slaveBroker;
 
 
         // TODO generate Equals method
@@ -31,7 +47,7 @@
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_BrokerInfo;
         }
 
@@ -60,6 +76,12 @@
         {
             get { return brokerName; }
             set { this.brokerName = value; }            
+        }
+
+        public bool SlaveBroker
+        {
+            get { return slaveBroker; }
+            set { this.slaveBroker = value; }            
         }
 
     }

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionError.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionError.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionError.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionError.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for ConnectionError
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,21 +23,28 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ConnectionError
+    //
+    //
+    //  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
+    //
     public class ConnectionError : BaseCommand
     {
-    			public const byte ID_ConnectionError = 16;
+        public const byte ID_ConnectionError = 16;
     			
         BrokerError exception;
         ConnectionId connectionId;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ConnectionError;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionId.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionId.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionId.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionId.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for ConnectionId
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,20 +23,27 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ConnectionId
+    //
+    //
+    //  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
+    //
     public class ConnectionId : AbstractCommand
     {
-    			public const byte ID_ConnectionId = 120;
+        public const byte ID_ConnectionId = 120;
     			
         string value;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ConnectionId;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionInfo.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionInfo.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionInfo.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConnectionInfo.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for ConnectionInfo
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,9 +23,17 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ConnectionInfo
+    //
+    //
+    //  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
+    //
     public class ConnectionInfo : BaseCommand
     {
-    			public const byte ID_ConnectionInfo = 3;
+        public const byte ID_ConnectionInfo = 3;
     			
         ConnectionId connectionId;
         string clientId;
@@ -26,13 +42,12 @@
         BrokerId[] brokerPath;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ConnectionInfo;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerId.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerId.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerId.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerId.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for ConsumerId
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,22 +23,29 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ConsumerId
+    //
+    //
+    //  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
+    //
     public class ConsumerId : AbstractCommand
     {
-    			public const byte ID_ConsumerId = 122;
+        public const byte ID_ConsumerId = 122;
     			
         string connectionId;
         long sessionId;
         long value;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ConsumerId;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerInfo.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerInfo.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerInfo.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ConsumerInfo.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for ConsumerInfo
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,9 +23,17 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ConsumerInfo
+    //
+    //
+    //  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
+    //
     public class ConsumerInfo : BaseCommand
     {
-    			public const byte ID_ConsumerInfo = 5;
+        public const byte ID_ConsumerInfo = 5;
     			
         ConsumerId consumerId;
         bool browser;
@@ -34,13 +50,12 @@
         bool networkSubscription;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ConsumerInfo;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ControlCommand.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ControlCommand.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ControlCommand.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ControlCommand.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for ControlCommand
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,20 +23,27 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ControlCommand
+    //
+    //
+    //  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
+    //
     public class ControlCommand : BaseCommand
     {
-    			public const byte ID_ControlCommand = 14;
+        public const byte ID_ControlCommand = 14;
     			
         string command;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ControlCommand;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataArrayResponse.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataArrayResponse.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataArrayResponse.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataArrayResponse.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for DataArrayResponse
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,20 +23,27 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for DataArrayResponse
+    //
+    //
+    //  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
+    //
     public class DataArrayResponse : Response
     {
-    			public const byte ID_DataArrayResponse = 33;
+        public const byte ID_DataArrayResponse = 33;
     			
         DataStructure[] data;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_DataArrayResponse;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataResponse.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataResponse.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataResponse.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DataResponse.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for DataResponse
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,20 +23,27 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for DataResponse
+    //
+    //
+    //  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
+    //
     public class DataResponse : Response
     {
-    			public const byte ID_DataResponse = 32;
+        public const byte ID_DataResponse = 32;
     			
         DataStructure data;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_DataResponse;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DestinationInfo.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DestinationInfo.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DestinationInfo.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DestinationInfo.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for DestinationInfo
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,9 +23,17 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for DestinationInfo
+    //
+    //
+    //  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
+    //
     public class DestinationInfo : BaseCommand
     {
-    			public const byte ID_DestinationInfo = 8;
+        public const byte ID_DestinationInfo = 8;
     			
         ConnectionId connectionId;
         ActiveMQDestination destination;
@@ -26,13 +42,12 @@
         BrokerId[] brokerPath;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_DestinationInfo;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DiscoveryEvent.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DiscoveryEvent.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DiscoveryEvent.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/DiscoveryEvent.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for DiscoveryEvent
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,21 +23,28 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for DiscoveryEvent
+    //
+    //
+    //  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
+    //
     public class DiscoveryEvent : AbstractCommand
     {
-    			public const byte ID_DiscoveryEvent = 40;
+        public const byte ID_DiscoveryEvent = 40;
     			
         string serviceName;
         string brokerName;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_DiscoveryEvent;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ExceptionResponse.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ExceptionResponse.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ExceptionResponse.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ExceptionResponse.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for ExceptionResponse
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,20 +23,27 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ExceptionResponse
+    //
+    //
+    //  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
+    //
     public class ExceptionResponse : Response
     {
-    			public const byte ID_ExceptionResponse = 31;
+        public const byte ID_ExceptionResponse = 31;
     			
         BrokerError exception;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ExceptionResponse;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/FlushCommand.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/FlushCommand.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/FlushCommand.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/FlushCommand.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for FlushCommand
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,19 +23,26 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for FlushCommand
+    //
+    //
+    //  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
+    //
     public class FlushCommand : BaseCommand
     {
-    			public const byte ID_FlushCommand = 15;
+        public const byte ID_FlushCommand = 15;
     			
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_FlushCommand;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/IntegerResponse.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/IntegerResponse.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/IntegerResponse.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/IntegerResponse.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for IntegerResponse
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,20 +23,27 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for IntegerResponse
+    //
+    //
+    //  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
+    //
     public class IntegerResponse : Response
     {
-    			public const byte ID_IntegerResponse = 34;
+        public const byte ID_IntegerResponse = 34;
     			
         int result;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_IntegerResponse;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalQueueAck.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalQueueAck.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalQueueAck.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalQueueAck.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for JournalQueueAck
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,21 +23,28 @@
 
 namespace OpenWire.Client.Commands
 {
-    public class JournalQueueAck : AbstractCommand
+    //
+    //  Marshalling code for Open Wire Format for JournalQueueAck
+    //
+    //
+    //  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
+    //
+    public class JournalQueueAck : DataStructureSupport
     {
-    			public const byte ID_JournalQueueAck = 52;
+        public const byte ID_JournalQueueAck = 52;
     			
         ActiveMQDestination destination;
         MessageAck messageAck;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_JournalQueueAck;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTopicAck.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTopicAck.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTopicAck.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTopicAck.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for JournalTopicAck
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,9 +23,17 @@
 
 namespace OpenWire.Client.Commands
 {
-    public class JournalTopicAck : AbstractCommand
+    //
+    //  Marshalling code for Open Wire Format for JournalTopicAck
+    //
+    //
+    //  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
+    //
+    public class JournalTopicAck : DataStructureSupport
     {
-    			public const byte ID_JournalTopicAck = 50;
+        public const byte ID_JournalTopicAck = 50;
     			
         ActiveMQDestination destination;
         MessageId messageId;
@@ -27,13 +43,12 @@
         TransactionId transactionId;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_JournalTopicAck;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTrace.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTrace.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTrace.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTrace.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for JournalTrace
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,20 +23,27 @@
 
 namespace OpenWire.Client.Commands
 {
-    public class JournalTrace : AbstractCommand
+    //
+    //  Marshalling code for Open Wire Format for JournalTrace
+    //
+    //
+    //  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
+    //
+    public class JournalTrace : DataStructureSupport
     {
-    			public const byte ID_JournalTrace = 53;
+        public const byte ID_JournalTrace = 53;
     			
         string message;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_JournalTrace;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTransaction.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTransaction.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTransaction.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/JournalTransaction.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for JournalTransaction
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,22 +23,29 @@
 
 namespace OpenWire.Client.Commands
 {
-    public class JournalTransaction : AbstractCommand
+    //
+    //  Marshalling code for Open Wire Format for JournalTransaction
+    //
+    //
+    //  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
+    //
+    public class JournalTransaction : DataStructureSupport
     {
-    			public const byte ID_JournalTransaction = 54;
+        public const byte ID_JournalTransaction = 54;
     			
         TransactionId transactionId;
         byte type;
         bool wasPrepared;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_JournalTransaction;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/KeepAliveInfo.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/KeepAliveInfo.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/KeepAliveInfo.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/KeepAliveInfo.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for KeepAliveInfo
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,19 +23,26 @@
 
 namespace OpenWire.Client.Commands
 {
-    public class KeepAliveInfo : AbstractCommand
+    //
+    //  Marshalling code for Open Wire Format for KeepAliveInfo
+    //
+    //
+    //  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
+    //
+    public class KeepAliveInfo : DataStructureSupport
     {
-    			public const byte ID_KeepAliveInfo = 10;
+        public const byte ID_KeepAliveInfo = 10;
     			
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_KeepAliveInfo;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/LocalTransactionId.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/LocalTransactionId.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/LocalTransactionId.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/LocalTransactionId.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for LocalTransactionId
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,21 +23,28 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for LocalTransactionId
+    //
+    //
+    //  NOTE!: This file is autogenerated - do not modify!
+    //         if you need to make a change, please see the Groovy scripts in the
+    //         activemq-core module
+    //
     public class LocalTransactionId : TransactionId
     {
-    			public const byte ID_LocalTransactionId = 111;
+        public const byte ID_LocalTransactionId = 111;
     			
         long value;
         ConnectionId connectionId;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_LocalTransactionId;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/Message.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/Message.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/Message.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/Message.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for Message
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,9 +23,17 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for Message
+    //
+    //
+    //  NOTE!: This file is autogenerated - do not modify!
+    //         if you need to make a change, please see the Groovy scripts in the
+    //         activemq-core module
+    //
     public class Message : BaseCommand
     {
-    			public const byte ID_Message = 0;
+        public const byte ID_Message = 0;
     			
         ProducerId producerId;
         ActiveMQDestination destination;
@@ -46,13 +62,12 @@
         bool recievedByDFBridge;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_Message;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageAck.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageAck.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageAck.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageAck.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for MessageAck
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,9 +23,17 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for MessageAck
+    //
+    //
+    //  NOTE!: This file is autogenerated - do not modify!
+    //         if you need to make a change, please see the Groovy scripts in the
+    //         activemq-core module
+    //
     public class MessageAck : BaseCommand
     {
-    			public const byte ID_MessageAck = 22;
+        public const byte ID_MessageAck = 22;
     			
         ActiveMQDestination destination;
         TransactionId transactionId;
@@ -28,13 +44,12 @@
         int messageCount;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_MessageAck;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatch.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatch.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatch.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatch.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for MessageDispatch
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,9 +23,17 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for MessageDispatch
+    //
+    //
+    //  NOTE!: This file is autogenerated - do not modify!
+    //         if you need to make a change, please see the Groovy scripts in the
+    //         activemq-core module
+    //
     public class MessageDispatch : BaseCommand
     {
-    			public const byte ID_MessageDispatch = 21;
+        public const byte ID_MessageDispatch = 21;
     			
         ConsumerId consumerId;
         ActiveMQDestination destination;
@@ -25,13 +41,12 @@
         int redeliveryCounter;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_MessageDispatch;
         }
 

Added: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatchNotification.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatchNotification.cs?rev=379827&view=auto
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatchNotification.cs (added)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageDispatchNotification.cs Wed Feb 22 09:45:12 2006
@@ -0,0 +1,81 @@
+/*
+* 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.
+*/
+
+using System;
+using System.Collections;
+
+using OpenWire.Client;
+using OpenWire.Client.Core;
+
+namespace OpenWire.Client.Commands
+{
+    //
+    //  Marshalling code for Open Wire Format for MessageDispatchNotification
+    //
+    //
+    //  NOTE!: This file is autogenerated - do not modify!
+    //         if you need to make a change, please see the Groovy scripts in the
+    //         activemq-core module
+    //
+    public class MessageDispatchNotification : BaseCommand
+    {
+        public const byte ID_MessageDispatchNotification = 90;
+    			
+        ConsumerId consumerId;
+        ActiveMQDestination destination;
+        long deliverySequenceId;
+        MessageId messageId;
+
+
+        // TODO generate Equals method
+        // TODO generate GetHashCode method
+        // TODO generate ToString method
+
+
+        public override byte GetDataStructureType() {
+            return ID_MessageDispatchNotification;
+        }
+
+
+        // Properties
+
+        public ConsumerId ConsumerId
+        {
+            get { return consumerId; }
+            set { this.consumerId = value; }            
+        }
+
+        public ActiveMQDestination Destination
+        {
+            get { return destination; }
+            set { this.destination = value; }            
+        }
+
+        public long DeliverySequenceId
+        {
+            get { return deliverySequenceId; }
+            set { this.deliverySequenceId = value; }            
+        }
+
+        public MessageId MessageId
+        {
+            get { return messageId; }
+            set { this.messageId = value; }            
+        }
+
+    }
+}

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageId.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageId.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageId.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/MessageId.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for MessageId
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,22 +23,29 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for MessageId
+    //
+    //
+    //  NOTE!: This file is autogenerated - do not modify!
+    //         if you need to make a change, please see the Groovy scripts in the
+    //         activemq-core module
+    //
     public class MessageId : AbstractCommand
     {
-    			public const byte ID_MessageId = 110;
+        public const byte ID_MessageId = 110;
     			
         ProducerId producerId;
         long producerSequenceId;
         long brokerSequenceId;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_MessageId;
         }
 

Modified: incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ProducerId.cs
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ProducerId.cs?rev=379827&r1=379826&r2=379827&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ProducerId.cs (original)
+++ incubator/activemq/trunk/openwire-dotnet/src/OpenWire.Client/Commands/ProducerId.cs Wed Feb 22 09:45:12 2006
@@ -1,11 +1,19 @@
-//
-// Marshalling code for Open Wire Format for ProducerId
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-//        if you need to make a change, please see the Groovy scripts in the
-//        activemq-openwire module
-//
+/*
+* 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.
+*/
 
 using System;
 using System.Collections;
@@ -15,22 +23,29 @@
 
 namespace OpenWire.Client.Commands
 {
+    //
+    //  Marshalling code for Open Wire Format for ProducerId
+    //
+    //
+    //  NOTE!: This file is autogenerated - do not modify!
+    //         if you need to make a change, please see the Groovy scripts in the
+    //         activemq-core module
+    //
     public class ProducerId : AbstractCommand
     {
-    			public const byte ID_ProducerId = 123;
+        public const byte ID_ProducerId = 123;
     			
         string connectionId;
         long value;
         long sessionId;
 
 
-
         // TODO generate Equals method
         // TODO generate GetHashCode method
         // TODO generate ToString method
 
 
-        public override byte GetCommandType() {
+        public override byte GetDataStructureType() {
             return ID_ProducerId;
         }
 



Mime
View raw message