You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/07/30 21:06:44 UTC
svn commit: r799407 [12/29] - in
/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp: ./
Commands/ OpenWire/ OpenWire/V1/ OpenWire/V2/ OpenWire/V3/ OpenWire/V4/
OpenWire/V5/ State/ Transport/
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQObjectMessageMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQObjectMessageMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQObjectMessageMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQObjectMessageMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ActiveMQObjectMessage
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,67 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ActiveMQObjectMessage
- /// </summary>
- class ActiveMQObjectMessageMarshaller : ActiveMQMessageMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ActiveMQObjectMessage();
- }
-
- public override byte GetDataStructureType()
- {
- return ActiveMQObjectMessage.ID_ActiveMQObjectMessage;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ActiveMQObjectMessage info = (ActiveMQObjectMessage)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ActiveMQObjectMessage
+ /// </summary>
+ class ActiveMQObjectMessageMarshaller : ActiveMQMessageMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- base.LooseMarshal(wireFormat, o, dataOut);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ActiveMQObjectMessage();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ActiveMQObjectMessage.ID_ACTIVEMQOBJECTMESSAGE;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+ base.LooseMarshal(wireFormat, o, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQQueueMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQQueueMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQQueueMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQQueueMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ActiveMQQueue
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,67 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ActiveMQQueue
- /// </summary>
- class ActiveMQQueueMarshaller : ActiveMQDestinationMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ActiveMQQueue();
- }
-
- public override byte GetDataStructureType()
- {
- return ActiveMQQueue.ID_ActiveMQQueue;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ActiveMQQueue info = (ActiveMQQueue)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ActiveMQQueue
+ /// </summary>
+ class ActiveMQQueueMarshaller : ActiveMQDestinationMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- base.LooseMarshal(wireFormat, o, dataOut);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ActiveMQQueue();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ActiveMQQueue.ID_ACTIVEMQQUEUE;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+ base.LooseMarshal(wireFormat, o, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQStreamMessageMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQStreamMessageMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQStreamMessageMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQStreamMessageMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ActiveMQStreamMessage
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,67 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ActiveMQStreamMessage
- /// </summary>
- class ActiveMQStreamMessageMarshaller : ActiveMQMessageMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ActiveMQStreamMessage();
- }
-
- public override byte GetDataStructureType()
- {
- return ActiveMQStreamMessage.ID_ActiveMQStreamMessage;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ActiveMQStreamMessage info = (ActiveMQStreamMessage)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ActiveMQStreamMessage
+ /// </summary>
+ class ActiveMQStreamMessageMarshaller : ActiveMQMessageMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- base.LooseMarshal(wireFormat, o, dataOut);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ActiveMQStreamMessage();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ActiveMQStreamMessage.ID_ACTIVEMQSTREAMMESSAGE;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+ base.LooseMarshal(wireFormat, o, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempDestinationMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempDestinationMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempDestinationMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempDestinationMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ActiveMQTempDestination
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,56 +35,54 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ActiveMQTempDestination
- /// </summary>
- abstract class ActiveMQTempDestinationMarshaller : ActiveMQDestinationMarshaller
- {
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ActiveMQTempDestination
+ /// </summary>
+ abstract class ActiveMQTempDestinationMarshaller : ActiveMQDestinationMarshaller
{
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ActiveMQTempDestination info = (ActiveMQTempDestination)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
- {
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
- base.LooseMarshal(wireFormat, o, dataOut);
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+ base.LooseMarshal(wireFormat, o, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempQueueMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempQueueMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempQueueMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempQueueMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ActiveMQTempQueue
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,67 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ActiveMQTempQueue
- /// </summary>
- class ActiveMQTempQueueMarshaller : ActiveMQTempDestinationMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ActiveMQTempQueue();
- }
-
- public override byte GetDataStructureType()
- {
- return ActiveMQTempQueue.ID_ActiveMQTempQueue;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ActiveMQTempQueue info = (ActiveMQTempQueue)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ActiveMQTempQueue
+ /// </summary>
+ class ActiveMQTempQueueMarshaller : ActiveMQTempDestinationMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- base.LooseMarshal(wireFormat, o, dataOut);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ActiveMQTempQueue();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ActiveMQTempQueue.ID_ACTIVEMQTEMPQUEUE;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+ base.LooseMarshal(wireFormat, o, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempTopicMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempTopicMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempTopicMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTempTopicMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ActiveMQTempTopic
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,67 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ActiveMQTempTopic
- /// </summary>
- class ActiveMQTempTopicMarshaller : ActiveMQTempDestinationMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ActiveMQTempTopic();
- }
-
- public override byte GetDataStructureType()
- {
- return ActiveMQTempTopic.ID_ActiveMQTempTopic;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ActiveMQTempTopic info = (ActiveMQTempTopic)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ActiveMQTempTopic
+ /// </summary>
+ class ActiveMQTempTopicMarshaller : ActiveMQTempDestinationMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- base.LooseMarshal(wireFormat, o, dataOut);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ActiveMQTempTopic();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ActiveMQTempTopic.ID_ACTIVEMQTEMPTOPIC;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+ base.LooseMarshal(wireFormat, o, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTextMessageMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTextMessageMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTextMessageMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTextMessageMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ActiveMQTextMessage
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,67 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ActiveMQTextMessage
- /// </summary>
- class ActiveMQTextMessageMarshaller : ActiveMQMessageMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ActiveMQTextMessage();
- }
-
- public override byte GetDataStructureType()
- {
- return ActiveMQTextMessage.ID_ActiveMQTextMessage;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ActiveMQTextMessage info = (ActiveMQTextMessage)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ActiveMQTextMessage
+ /// </summary>
+ class ActiveMQTextMessageMarshaller : ActiveMQMessageMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- base.LooseMarshal(wireFormat, o, dataOut);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ActiveMQTextMessage();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ActiveMQTextMessage.ID_ACTIVEMQTEXTMESSAGE;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+ base.LooseMarshal(wireFormat, o, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTopicMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTopicMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTopicMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ActiveMQTopicMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ActiveMQTopic
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,67 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ActiveMQTopic
- /// </summary>
- class ActiveMQTopicMarshaller : ActiveMQDestinationMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ActiveMQTopic();
- }
-
- public override byte GetDataStructureType()
- {
- return ActiveMQTopic.ID_ActiveMQTopic;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ActiveMQTopic info = (ActiveMQTopic)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ActiveMQTopic
+ /// </summary>
+ class ActiveMQTopicMarshaller : ActiveMQDestinationMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- base.LooseMarshal(wireFormat, o, dataOut);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ActiveMQTopic();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ActiveMQTopic.ID_ACTIVEMQTOPIC;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+ base.LooseMarshal(wireFormat, o, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BaseCommandMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BaseCommandMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BaseCommandMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BaseCommandMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for BaseCommand
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,73 +35,72 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for BaseCommand
- /// </summary>
- abstract class BaseCommandMarshaller : BaseDataStreamMarshaller
- {
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ /// <summary>
+ /// Marshalling code for Open Wire Format for BaseCommand
+ /// </summary>
+ abstract class BaseCommandMarshaller : BaseDataStreamMarshaller
{
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- BaseCommand info = (BaseCommand)o;
- info.CommandId = dataIn.ReadInt32();
- info.ResponseRequired = bs.ReadBoolean();
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- BaseCommand info = (BaseCommand)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- bs.WriteBoolean(info.ResponseRequired);
-
- return rc + 4;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- BaseCommand info = (BaseCommand)o;
- dataOut.Write(info.CommandId);
- bs.ReadBoolean();
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
- {
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- BaseCommand info = (BaseCommand)o;
- info.CommandId = dataIn.ReadInt32();
- info.ResponseRequired = dataIn.ReadBoolean();
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- BaseCommand info = (BaseCommand)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- dataOut.Write(info.CommandId);
- dataOut.Write(info.ResponseRequired);
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+
+ BaseCommand info = (BaseCommand)o;
+ info.CommandId = dataIn.ReadInt32();
+ info.ResponseRequired = bs.ReadBoolean();
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ BaseCommand info = (BaseCommand)o;
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ bs.WriteBoolean(info.ResponseRequired);
+
+ return rc + 4;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+
+ BaseCommand info = (BaseCommand)o;
+ dataOut.Write(info.CommandId);
+ bs.ReadBoolean();
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+
+ BaseCommand info = (BaseCommand)o;
+ info.CommandId = dataIn.ReadInt32();
+ info.ResponseRequired = dataIn.ReadBoolean();
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ BaseCommand info = (BaseCommand)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ dataOut.Write(info.CommandId);
+ dataOut.Write(info.ResponseRequired);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BrokerIdMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BrokerIdMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BrokerIdMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BrokerIdMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for BrokerId
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,80 +35,83 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for BrokerId
- /// </summary>
- class BrokerIdMarshaller : BaseDataStreamMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new BrokerId();
- }
-
- public override byte GetDataStructureType()
+ /// <summary>
+ /// Marshalling code for Open Wire Format for BrokerId
+ /// </summary>
+ class BrokerIdMarshaller : BaseDataStreamMarshaller
{
- return BrokerId.ID_BrokerId;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- BrokerId info = (BrokerId)o;
- info.Value = TightUnmarshalString(dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- BrokerId info = (BrokerId)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- rc += TightMarshalString1(info.Value, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- BrokerId info = (BrokerId)o;
- TightMarshalString2(info.Value, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
- {
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- BrokerId info = (BrokerId)o;
- info.Value = LooseUnmarshalString(dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- BrokerId info = (BrokerId)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalString(info.Value, dataOut);
-
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new BrokerId();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return BrokerId.ID_BROKERID;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+
+ BrokerId info = (BrokerId)o;
+ info.Value = TightUnmarshalString(dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ BrokerId info = (BrokerId)o;
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ rc += TightMarshalString1(info.Value, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+
+ BrokerId info = (BrokerId)o;
+ TightMarshalString2(info.Value, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+
+ BrokerId info = (BrokerId)o;
+ info.Value = LooseUnmarshalString(dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ BrokerId info = (BrokerId)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalString(info.Value, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BrokerInfoMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BrokerInfoMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BrokerInfoMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/BrokerInfoMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for BrokerInfo
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,147 +35,150 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for BrokerInfo
- /// </summary>
- class BrokerInfoMarshaller : BaseCommandMarshaller
- {
-
-
- public override DataStructure CreateObject()
+ /// <summary>
+ /// Marshalling code for Open Wire Format for BrokerInfo
+ /// </summary>
+ class BrokerInfoMarshaller : BaseCommandMarshaller
{
- return new BrokerInfo();
- }
-
- public override byte GetDataStructureType()
- {
- return BrokerInfo.ID_BrokerInfo;
- }
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new BrokerInfo();
+ }
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return BrokerInfo.ID_BROKERINFO;
+ }
- BrokerInfo info = (BrokerInfo)o;
- info.BrokerId = (BrokerId) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
- info.BrokerURL = TightUnmarshalString(dataIn, bs);
-
- if (bs.ReadBoolean()) {
- short size = dataIn.ReadInt16();
- BrokerInfo[] value = new BrokerInfo[size];
- for( int i=0; i < size; i++ ) {
- value[i] = (BrokerInfo) TightUnmarshalNestedObject(wireFormat,dataIn, bs);
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+
+ BrokerInfo info = (BrokerInfo)o;
+ info.BrokerId = (BrokerId) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
+ info.BrokerURL = TightUnmarshalString(dataIn, bs);
+
+ if (bs.ReadBoolean()) {
+ short size = dataIn.ReadInt16();
+ BrokerInfo[] value = new BrokerInfo[size];
+ for( int i=0; i < size; i++ ) {
+ value[i] = (BrokerInfo) TightUnmarshalNestedObject(wireFormat,dataIn, bs);
+ }
+ info.PeerBrokerInfos = value;
}
- info.PeerBrokerInfos = value;
- }
- else {
- info.PeerBrokerInfos = null;
+ else {
+ info.PeerBrokerInfos = null;
+ }
+ info.BrokerName = TightUnmarshalString(dataIn, bs);
+ info.SlaveBroker = bs.ReadBoolean();
+ info.MasterBroker = bs.ReadBoolean();
+ info.FaultTolerantConfiguration = bs.ReadBoolean();
+ info.DuplexConnection = bs.ReadBoolean();
+ info.NetworkConnection = bs.ReadBoolean();
+ info.ConnectionId = TightUnmarshalLong(wireFormat, dataIn, bs);
}
- info.BrokerName = TightUnmarshalString(dataIn, bs);
- info.SlaveBroker = bs.ReadBoolean();
- info.MasterBroker = bs.ReadBoolean();
- info.FaultTolerantConfiguration = bs.ReadBoolean();
- info.DuplexConnection = bs.ReadBoolean();
- info.NetworkConnection = bs.ReadBoolean();
- info.ConnectionId = TightUnmarshalLong(wireFormat, dataIn, bs);
-
- }
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- BrokerInfo info = (BrokerInfo)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.BrokerId, bs);
- rc += TightMarshalString1(info.BrokerURL, bs);
- rc += TightMarshalObjectArray1(wireFormat, info.PeerBrokerInfos, bs);
- rc += TightMarshalString1(info.BrokerName, bs);
- bs.WriteBoolean(info.SlaveBroker);
- bs.WriteBoolean(info.MasterBroker);
- bs.WriteBoolean(info.FaultTolerantConfiguration);
- bs.WriteBoolean(info.DuplexConnection);
- bs.WriteBoolean(info.NetworkConnection);
- rc += TightMarshalLong1(wireFormat, info.ConnectionId, bs);
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ BrokerInfo info = (BrokerInfo)o;
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ rc += TightMarshalCachedObject1(wireFormat, (DataStructure)info.BrokerId, bs);
+ rc += TightMarshalString1(info.BrokerURL, bs);
+ rc += TightMarshalObjectArray1(wireFormat, info.PeerBrokerInfos, bs);
+ rc += TightMarshalString1(info.BrokerName, bs);
+ bs.WriteBoolean(info.SlaveBroker);
+ bs.WriteBoolean(info.MasterBroker);
+ bs.WriteBoolean(info.FaultTolerantConfiguration);
+ bs.WriteBoolean(info.DuplexConnection);
+ bs.WriteBoolean(info.NetworkConnection);
+ rc += TightMarshalLong1(wireFormat, info.ConnectionId, bs);
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- BrokerInfo info = (BrokerInfo)o;
- TightMarshalCachedObject2(wireFormat, (DataStructure)info.BrokerId, dataOut, bs);
- TightMarshalString2(info.BrokerURL, dataOut, bs);
- TightMarshalObjectArray2(wireFormat, info.PeerBrokerInfos, dataOut, bs);
- TightMarshalString2(info.BrokerName, dataOut, bs);
- bs.ReadBoolean();
- bs.ReadBoolean();
- bs.ReadBoolean();
- bs.ReadBoolean();
- bs.ReadBoolean();
- TightMarshalLong2(wireFormat, info.ConnectionId, dataOut, bs);
-
- }
+ return rc + 0;
+ }
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
- {
- base.LooseUnmarshal(wireFormat, o, dataIn);
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+
+ BrokerInfo info = (BrokerInfo)o;
+ TightMarshalCachedObject2(wireFormat, (DataStructure)info.BrokerId, dataOut, bs);
+ TightMarshalString2(info.BrokerURL, dataOut, bs);
+ TightMarshalObjectArray2(wireFormat, info.PeerBrokerInfos, dataOut, bs);
+ TightMarshalString2(info.BrokerName, dataOut, bs);
+ bs.ReadBoolean();
+ bs.ReadBoolean();
+ bs.ReadBoolean();
+ bs.ReadBoolean();
+ bs.ReadBoolean();
+ TightMarshalLong2(wireFormat, info.ConnectionId, dataOut, bs);
+ }
- BrokerInfo info = (BrokerInfo)o;
- info.BrokerId = (BrokerId) LooseUnmarshalCachedObject(wireFormat, dataIn);
- info.BrokerURL = LooseUnmarshalString(dataIn);
-
- if (dataIn.ReadBoolean()) {
- short size = dataIn.ReadInt16();
- BrokerInfo[] value = new BrokerInfo[size];
- for( int i=0; i < size; i++ ) {
- value[i] = (BrokerInfo) LooseUnmarshalNestedObject(wireFormat,dataIn);
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+
+ BrokerInfo info = (BrokerInfo)o;
+ info.BrokerId = (BrokerId) LooseUnmarshalCachedObject(wireFormat, dataIn);
+ info.BrokerURL = LooseUnmarshalString(dataIn);
+
+ if (dataIn.ReadBoolean()) {
+ short size = dataIn.ReadInt16();
+ BrokerInfo[] value = new BrokerInfo[size];
+ for( int i=0; i < size; i++ ) {
+ value[i] = (BrokerInfo) LooseUnmarshalNestedObject(wireFormat,dataIn);
+ }
+ info.PeerBrokerInfos = value;
}
- info.PeerBrokerInfos = value;
- }
- else {
- info.PeerBrokerInfos = null;
+ else {
+ info.PeerBrokerInfos = null;
+ }
+ info.BrokerName = LooseUnmarshalString(dataIn);
+ info.SlaveBroker = dataIn.ReadBoolean();
+ info.MasterBroker = dataIn.ReadBoolean();
+ info.FaultTolerantConfiguration = dataIn.ReadBoolean();
+ info.DuplexConnection = dataIn.ReadBoolean();
+ info.NetworkConnection = dataIn.ReadBoolean();
+ info.ConnectionId = LooseUnmarshalLong(wireFormat, dataIn);
}
- info.BrokerName = LooseUnmarshalString(dataIn);
- info.SlaveBroker = dataIn.ReadBoolean();
- info.MasterBroker = dataIn.ReadBoolean();
- info.FaultTolerantConfiguration = dataIn.ReadBoolean();
- info.DuplexConnection = dataIn.ReadBoolean();
- info.NetworkConnection = dataIn.ReadBoolean();
- info.ConnectionId = LooseUnmarshalLong(wireFormat, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- BrokerInfo info = (BrokerInfo)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalCachedObject(wireFormat, (DataStructure)info.BrokerId, dataOut);
- LooseMarshalString(info.BrokerURL, dataOut);
- LooseMarshalObjectArray(wireFormat, info.PeerBrokerInfos, dataOut);
- LooseMarshalString(info.BrokerName, dataOut);
- dataOut.Write(info.SlaveBroker);
- dataOut.Write(info.MasterBroker);
- dataOut.Write(info.FaultTolerantConfiguration);
- dataOut.Write(info.DuplexConnection);
- dataOut.Write(info.NetworkConnection);
- LooseMarshalLong(wireFormat, info.ConnectionId, dataOut);
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ BrokerInfo info = (BrokerInfo)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalCachedObject(wireFormat, (DataStructure)info.BrokerId, dataOut);
+ LooseMarshalString(info.BrokerURL, dataOut);
+ LooseMarshalObjectArray(wireFormat, info.PeerBrokerInfos, dataOut);
+ LooseMarshalString(info.BrokerName, dataOut);
+ dataOut.Write(info.SlaveBroker);
+ dataOut.Write(info.MasterBroker);
+ dataOut.Write(info.FaultTolerantConfiguration);
+ dataOut.Write(info.DuplexConnection);
+ dataOut.Write(info.NetworkConnection);
+ LooseMarshalLong(wireFormat, info.ConnectionId, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionControlMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionControlMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionControlMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionControlMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ConnectionControl
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,99 +35,101 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ConnectionControl
- /// </summary>
- class ConnectionControlMarshaller : BaseCommandMarshaller
- {
-
-
- public override DataStructure CreateObject()
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ConnectionControl
+ /// </summary>
+ class ConnectionControlMarshaller : BaseCommandMarshaller
{
- return new ConnectionControl();
- }
-
- public override byte GetDataStructureType()
- {
- return ConnectionControl.ID_ConnectionControl;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- ConnectionControl info = (ConnectionControl)o;
- info.Close = bs.ReadBoolean();
- info.Exit = bs.ReadBoolean();
- info.FaultTolerant = bs.ReadBoolean();
- info.Resume = bs.ReadBoolean();
- info.Suspend = bs.ReadBoolean();
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ConnectionControl info = (ConnectionControl)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- bs.WriteBoolean(info.Close);
- bs.WriteBoolean(info.Exit);
- bs.WriteBoolean(info.FaultTolerant);
- bs.WriteBoolean(info.Resume);
- bs.WriteBoolean(info.Suspend);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- bs.ReadBoolean();
- bs.ReadBoolean();
- bs.ReadBoolean();
- bs.ReadBoolean();
- bs.ReadBoolean();
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
- {
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- ConnectionControl info = (ConnectionControl)o;
- info.Close = dataIn.ReadBoolean();
- info.Exit = dataIn.ReadBoolean();
- info.FaultTolerant = dataIn.ReadBoolean();
- info.Resume = dataIn.ReadBoolean();
- info.Suspend = dataIn.ReadBoolean();
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- ConnectionControl info = (ConnectionControl)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- dataOut.Write(info.Close);
- dataOut.Write(info.Exit);
- dataOut.Write(info.FaultTolerant);
- dataOut.Write(info.Resume);
- dataOut.Write(info.Suspend);
-
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ConnectionControl();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ConnectionControl.ID_CONNECTIONCONTROL;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+
+ ConnectionControl info = (ConnectionControl)o;
+ info.Close = bs.ReadBoolean();
+ info.Exit = bs.ReadBoolean();
+ info.FaultTolerant = bs.ReadBoolean();
+ info.Resume = bs.ReadBoolean();
+ info.Suspend = bs.ReadBoolean();
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ ConnectionControl info = (ConnectionControl)o;
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ bs.WriteBoolean(info.Close);
+ bs.WriteBoolean(info.Exit);
+ bs.WriteBoolean(info.FaultTolerant);
+ bs.WriteBoolean(info.Resume);
+ bs.WriteBoolean(info.Suspend);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+ bs.ReadBoolean();
+ bs.ReadBoolean();
+ bs.ReadBoolean();
+ bs.ReadBoolean();
+ bs.ReadBoolean();
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+
+ ConnectionControl info = (ConnectionControl)o;
+ info.Close = dataIn.ReadBoolean();
+ info.Exit = dataIn.ReadBoolean();
+ info.FaultTolerant = dataIn.ReadBoolean();
+ info.Resume = dataIn.ReadBoolean();
+ info.Suspend = dataIn.ReadBoolean();
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ ConnectionControl info = (ConnectionControl)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ dataOut.Write(info.Close);
+ dataOut.Write(info.Exit);
+ dataOut.Write(info.FaultTolerant);
+ dataOut.Write(info.Resume);
+ dataOut.Write(info.Suspend);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionErrorMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionErrorMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionErrorMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionErrorMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ConnectionError
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,85 +35,88 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ConnectionError
- /// </summary>
- class ConnectionErrorMarshaller : BaseCommandMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ConnectionError();
- }
-
- public override byte GetDataStructureType()
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ConnectionError
+ /// </summary>
+ class ConnectionErrorMarshaller : BaseCommandMarshaller
{
- return ConnectionError.ID_ConnectionError;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- ConnectionError info = (ConnectionError)o;
- info.Exception = TightUnmarshalBrokerError(wireFormat, dataIn, bs);
- info.ConnectionId = (ConnectionId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
-
- }
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ConnectionError();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ConnectionError.ID_CONNECTIONERROR;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+
+ ConnectionError info = (ConnectionError)o;
+ info.Exception = TightUnmarshalBrokerError(wireFormat, dataIn, bs);
+ info.ConnectionId = (ConnectionId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ ConnectionError info = (ConnectionError)o;
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ConnectionError info = (ConnectionError)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- rc += TightMarshalBrokerError1(wireFormat, info.Exception, bs);
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ rc += TightMarshalBrokerError1(wireFormat, info.Exception, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.ConnectionId, bs);
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- ConnectionError info = (ConnectionError)o;
- TightMarshalBrokerError2(wireFormat, info.Exception, dataOut, bs);
- TightMarshalNestedObject2(wireFormat, (DataStructure)info.ConnectionId, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
- {
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- ConnectionError info = (ConnectionError)o;
- info.Exception = LooseUnmarshalBrokerError(wireFormat, dataIn);
- info.ConnectionId = (ConnectionId) LooseUnmarshalNestedObject(wireFormat, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- ConnectionError info = (ConnectionError)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalBrokerError(wireFormat, info.Exception, dataOut);
- LooseMarshalNestedObject(wireFormat, (DataStructure)info.ConnectionId, dataOut);
+ return rc + 0;
+ }
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+
+ ConnectionError info = (ConnectionError)o;
+ TightMarshalBrokerError2(wireFormat, info.Exception, dataOut, bs);
+ TightMarshalNestedObject2(wireFormat, (DataStructure)info.ConnectionId, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+
+ ConnectionError info = (ConnectionError)o;
+ info.Exception = LooseUnmarshalBrokerError(wireFormat, dataIn);
+ info.ConnectionId = (ConnectionId) LooseUnmarshalNestedObject(wireFormat, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ ConnectionError info = (ConnectionError)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalBrokerError(wireFormat, info.Exception, dataOut);
+ LooseMarshalNestedObject(wireFormat, (DataStructure)info.ConnectionId, dataOut);
+ }
}
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionIdMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionIdMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionIdMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V2/ConnectionIdMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -15,11 +15,15 @@
* limitations under the License.
*/
-//
-// 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
-//
+/*
+ *
+ * Marshaler code for OpenWire format for ConnectionId
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the Java Classes
+ * in the nms-activemq-openwire-generator module
+ *
+ */
using System;
using System.Collections;
@@ -31,80 +35,83 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V2
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ConnectionId
- /// </summary>
- class ConnectionIdMarshaller : BaseDataStreamMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ConnectionId();
- }
-
- public override byte GetDataStructureType()
+ /// <summary>
+ /// Marshalling code for Open Wire Format for ConnectionId
+ /// </summary>
+ class ConnectionIdMarshaller : BaseDataStreamMarshaller
{
- return ConnectionId.ID_ConnectionId;
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
- {
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- ConnectionId info = (ConnectionId)o;
- info.Value = TightUnmarshalString(dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ConnectionId info = (ConnectionId)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- rc += TightMarshalString1(info.Value, bs);
-
- return rc + 0;
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs) {
- base.TightMarshal2(wireFormat, o, dataOut, bs);
-
- ConnectionId info = (ConnectionId)o;
- TightMarshalString2(info.Value, dataOut, bs);
-
- }
-
- //
- // Un-marshal an object instance from the data input stream
- //
- public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
- {
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- ConnectionId info = (ConnectionId)o;
- info.Value = LooseUnmarshalString(dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- ConnectionId info = (ConnectionId)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalString(info.Value, dataOut);
-
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ConnectionId();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ConnectionId.ID_CONNECTIONID;
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void TightUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn, BooleanStream bs)
+ {
+ base.TightUnmarshal(wireFormat, o, dataIn, bs);
+
+ ConnectionId info = (ConnectionId)o;
+ info.Value = TightUnmarshalString(dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ ConnectionId info = (ConnectionId)o;
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ rc += TightMarshalString1(info.Value, bs);
+
+ return rc + 0;
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void TightMarshal2(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut, BooleanStream bs)
+ {
+ base.TightMarshal2(wireFormat, o, dataOut, bs);
+
+ ConnectionId info = (ConnectionId)o;
+ TightMarshalString2(info.Value, dataOut, bs);
+ }
+
+ //
+ // Un-marshal an object instance from the data input stream
+ //
+ public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
+ {
+ base.LooseUnmarshal(wireFormat, o, dataIn);
+
+ ConnectionId info = (ConnectionId)o;
+ info.Value = LooseUnmarshalString(dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ ConnectionId info = (ConnectionId)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalString(info.Value, dataOut);
+ }
}
- }
}