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 [8/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/V1/DiscoveryEventMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/DiscoveryEventMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/DiscoveryEventMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/DiscoveryEventMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for DiscoveryEvent
+ *
+ * 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,86 +35,88 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for DiscoveryEvent
- /// </summary>
- class DiscoveryEventMarshaller : BaseDataStreamMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new DiscoveryEvent();
- }
-
- public override byte GetDataStructureType()
- {
- return DiscoveryEvent.ID_DiscoveryEvent;
- }
-
- //
- // 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);
-
- DiscoveryEvent info = (DiscoveryEvent)o;
- info.ServiceName = TightUnmarshalString(dataIn, bs);
- info.BrokerName = TightUnmarshalString(dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- DiscoveryEvent info = (DiscoveryEvent)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- rc += TightMarshalString1(info.ServiceName, bs);
- rc += TightMarshalString1(info.BrokerName, 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);
-
- DiscoveryEvent info = (DiscoveryEvent)o;
- TightMarshalString2(info.ServiceName, dataOut, bs);
- TightMarshalString2(info.BrokerName, 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 DiscoveryEvent
+ /// </summary>
+ class DiscoveryEventMarshaller : BaseDataStreamMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- DiscoveryEvent info = (DiscoveryEvent)o;
- info.ServiceName = LooseUnmarshalString(dataIn);
- info.BrokerName = LooseUnmarshalString(dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- DiscoveryEvent info = (DiscoveryEvent)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalString(info.ServiceName, dataOut);
- LooseMarshalString(info.BrokerName, dataOut);
-
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new DiscoveryEvent();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return DiscoveryEvent.ID_DISCOVERYEVENT;
+ }
+
+ //
+ // 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);
+
+ DiscoveryEvent info = (DiscoveryEvent)o;
+ info.ServiceName = TightUnmarshalString(dataIn, bs);
+ info.BrokerName = TightUnmarshalString(dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ DiscoveryEvent info = (DiscoveryEvent)o;
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ rc += TightMarshalString1(info.ServiceName, bs);
+ rc += TightMarshalString1(info.BrokerName, 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);
+
+ DiscoveryEvent info = (DiscoveryEvent)o;
+ TightMarshalString2(info.ServiceName, dataOut, bs);
+ TightMarshalString2(info.BrokerName, 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);
+
+ DiscoveryEvent info = (DiscoveryEvent)o;
+ info.ServiceName = LooseUnmarshalString(dataIn);
+ info.BrokerName = LooseUnmarshalString(dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ DiscoveryEvent info = (DiscoveryEvent)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalString(info.ServiceName, dataOut);
+ LooseMarshalString(info.BrokerName, dataOut);
+ }
}
-
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/ExceptionResponseMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/ExceptionResponseMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/ExceptionResponseMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/ExceptionResponseMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for ExceptionResponse
+ *
+ * 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,81 +35,83 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for ExceptionResponse
- /// </summary>
- class ExceptionResponseMarshaller : ResponseMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new ExceptionResponse();
- }
-
- public override byte GetDataStructureType()
- {
- return ExceptionResponse.ID_ExceptionResponse;
- }
-
- //
- // 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);
-
- ExceptionResponse info = (ExceptionResponse)o;
- info.Exception = TightUnmarshalBrokerError(wireFormat, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- ExceptionResponse info = (ExceptionResponse)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- rc += TightMarshalBrokerError1(wireFormat, info.Exception, 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);
-
- ExceptionResponse info = (ExceptionResponse)o;
- TightMarshalBrokerError2(wireFormat, info.Exception, 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 ExceptionResponse
+ /// </summary>
+ class ExceptionResponseMarshaller : ResponseMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- ExceptionResponse info = (ExceptionResponse)o;
- info.Exception = LooseUnmarshalBrokerError(wireFormat, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- ExceptionResponse info = (ExceptionResponse)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalBrokerError(wireFormat, info.Exception, dataOut);
-
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new ExceptionResponse();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return ExceptionResponse.ID_EXCEPTIONRESPONSE;
+ }
+
+ //
+ // 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);
+
+ ExceptionResponse info = (ExceptionResponse)o;
+ info.Exception = TightUnmarshalBrokerError(wireFormat, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ ExceptionResponse info = (ExceptionResponse)o;
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ rc += TightMarshalBrokerError1(wireFormat, info.Exception, 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);
+
+ ExceptionResponse info = (ExceptionResponse)o;
+ TightMarshalBrokerError2(wireFormat, info.Exception, 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);
+
+ ExceptionResponse info = (ExceptionResponse)o;
+ info.Exception = LooseUnmarshalBrokerError(wireFormat, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ ExceptionResponse info = (ExceptionResponse)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalBrokerError(wireFormat, info.Exception, dataOut);
+ }
}
-
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/FlushCommandMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/FlushCommandMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/FlushCommandMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/FlushCommandMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for FlushCommand
+ *
+ * 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,68 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for FlushCommand
- /// </summary>
- class FlushCommandMarshaller : BaseCommandMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new FlushCommand();
- }
-
- public override byte GetDataStructureType()
+ /// <summary>
+ /// Marshalling code for Open Wire Format for FlushCommand
+ /// </summary>
+ class FlushCommandMarshaller : BaseCommandMarshaller
{
- return FlushCommand.ID_FlushCommand;
- }
-
- //
- // 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) {
- FlushCommand info = (FlushCommand)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);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new FlushCommand();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return FlushCommand.ID_FLUSHCOMMAND;
+ }
+
+ //
+ // 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/V1/IntegerResponseMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/IntegerResponseMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/IntegerResponseMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/IntegerResponseMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for IntegerResponse
+ *
+ * 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,81 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for IntegerResponse
- /// </summary>
- class IntegerResponseMarshaller : ResponseMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new IntegerResponse();
- }
-
- public override byte GetDataStructureType()
- {
- return IntegerResponse.ID_IntegerResponse;
- }
-
- //
- // 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);
-
- IntegerResponse info = (IntegerResponse)o;
- info.Result = dataIn.ReadInt32();
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- IntegerResponse info = (IntegerResponse)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
-
- 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);
-
- IntegerResponse info = (IntegerResponse)o;
- dataOut.Write(info.Result);
-
- }
-
- //
- // 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 IntegerResponse
+ /// </summary>
+ class IntegerResponseMarshaller : ResponseMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- IntegerResponse info = (IntegerResponse)o;
- info.Result = dataIn.ReadInt32();
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- IntegerResponse info = (IntegerResponse)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- dataOut.Write(info.Result);
-
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new IntegerResponse();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return IntegerResponse.ID_INTEGERRESPONSE;
+ }
+
+ //
+ // 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);
+
+ IntegerResponse info = (IntegerResponse)o;
+ info.Result = dataIn.ReadInt32();
+ }
+
+ //
+ // 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 + 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);
+
+ IntegerResponse info = (IntegerResponse)o;
+ dataOut.Write(info.Result);
+ }
+
+ //
+ // 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);
+
+ IntegerResponse info = (IntegerResponse)o;
+ info.Result = dataIn.ReadInt32();
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ IntegerResponse info = (IntegerResponse)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ dataOut.Write(info.Result);
+ }
}
-
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalQueueAckMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalQueueAckMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalQueueAckMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalQueueAckMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for JournalQueueAck
+ *
+ * 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,86 +35,88 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for JournalQueueAck
- /// </summary>
- class JournalQueueAckMarshaller : BaseDataStreamMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new JournalQueueAck();
- }
-
- public override byte GetDataStructureType()
- {
- return JournalQueueAck.ID_JournalQueueAck;
- }
-
- //
- // 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 JournalQueueAck
+ /// </summary>
+ class JournalQueueAckMarshaller : BaseDataStreamMarshaller
{
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- JournalQueueAck info = (JournalQueueAck)o;
- info.Destination = (ActiveMQDestination) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
- info.MessageAck = (MessageAck) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- JournalQueueAck info = (JournalQueueAck)o;
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new JournalQueueAck();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return JournalQueueAck.ID_JOURNALQUEUEACK;
+ }
+
+ //
+ // 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);
+
+ JournalQueueAck info = (JournalQueueAck)o;
+ info.Destination = (ActiveMQDestination) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
+ info.MessageAck = (MessageAck) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ JournalQueueAck info = (JournalQueueAck)o;
- int rc = base.TightMarshal1(wireFormat, info, bs);
+ int rc = base.TightMarshal1(wireFormat, o, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.Destination, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.MessageAck, 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);
-
- JournalQueueAck info = (JournalQueueAck)o;
- TightMarshalNestedObject2(wireFormat, (DataStructure)info.Destination, dataOut, bs);
- TightMarshalNestedObject2(wireFormat, (DataStructure)info.MessageAck, 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);
-
- JournalQueueAck info = (JournalQueueAck)o;
- info.Destination = (ActiveMQDestination) LooseUnmarshalNestedObject(wireFormat, dataIn);
- info.MessageAck = (MessageAck) LooseUnmarshalNestedObject(wireFormat, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- JournalQueueAck info = (JournalQueueAck)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalNestedObject(wireFormat, (DataStructure)info.Destination, dataOut);
- LooseMarshalNestedObject(wireFormat, (DataStructure)info.MessageAck, 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);
+
+ JournalQueueAck info = (JournalQueueAck)o;
+ TightMarshalNestedObject2(wireFormat, (DataStructure)info.Destination, dataOut, bs);
+ TightMarshalNestedObject2(wireFormat, (DataStructure)info.MessageAck, 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);
+
+ JournalQueueAck info = (JournalQueueAck)o;
+ info.Destination = (ActiveMQDestination) LooseUnmarshalNestedObject(wireFormat, dataIn);
+ info.MessageAck = (MessageAck) LooseUnmarshalNestedObject(wireFormat, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ JournalQueueAck info = (JournalQueueAck)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalNestedObject(wireFormat, (DataStructure)info.Destination, dataOut);
+ LooseMarshalNestedObject(wireFormat, (DataStructure)info.MessageAck, dataOut);
+ }
}
-
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTopicAckMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTopicAckMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTopicAckMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTopicAckMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for JournalTopicAck
+ *
+ * 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,106 +35,108 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for JournalTopicAck
- /// </summary>
- class JournalTopicAckMarshaller : BaseDataStreamMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new JournalTopicAck();
- }
-
- public override byte GetDataStructureType()
- {
- return JournalTopicAck.ID_JournalTopicAck;
- }
-
- //
- // 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 JournalTopicAck
+ /// </summary>
+ class JournalTopicAckMarshaller : BaseDataStreamMarshaller
{
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- JournalTopicAck info = (JournalTopicAck)o;
- info.Destination = (ActiveMQDestination) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
- info.MessageId = (MessageId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
- info.MessageSequenceId = TightUnmarshalLong(wireFormat, dataIn, bs);
- info.SubscritionName = TightUnmarshalString(dataIn, bs);
- info.ClientId = TightUnmarshalString(dataIn, bs);
- info.TransactionId = (TransactionId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- JournalTopicAck info = (JournalTopicAck)o;
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new JournalTopicAck();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return JournalTopicAck.ID_JOURNALTOPICACK;
+ }
+
+ //
+ // 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);
+
+ JournalTopicAck info = (JournalTopicAck)o;
+ info.Destination = (ActiveMQDestination) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
+ info.MessageId = (MessageId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
+ info.MessageSequenceId = TightUnmarshalLong(wireFormat, dataIn, bs);
+ info.SubscritionName = TightUnmarshalString(dataIn, bs);
+ info.ClientId = TightUnmarshalString(dataIn, bs);
+ info.TransactionId = (TransactionId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ JournalTopicAck info = (JournalTopicAck)o;
- int rc = base.TightMarshal1(wireFormat, info, bs);
+ int rc = base.TightMarshal1(wireFormat, o, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.Destination, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.MessageId, bs);
- rc += TightMarshalLong1(wireFormat, info.MessageSequenceId, bs);
- rc += TightMarshalString1(info.SubscritionName, bs);
- rc += TightMarshalString1(info.ClientId, bs);
+ rc += TightMarshalLong1(wireFormat, info.MessageSequenceId, bs);
+ rc += TightMarshalString1(info.SubscritionName, bs);
+ rc += TightMarshalString1(info.ClientId, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.TransactionId, 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);
-
- JournalTopicAck info = (JournalTopicAck)o;
- TightMarshalNestedObject2(wireFormat, (DataStructure)info.Destination, dataOut, bs);
- TightMarshalNestedObject2(wireFormat, (DataStructure)info.MessageId, dataOut, bs);
- TightMarshalLong2(wireFormat, info.MessageSequenceId, dataOut, bs);
- TightMarshalString2(info.SubscritionName, dataOut, bs);
- TightMarshalString2(info.ClientId, dataOut, bs);
- TightMarshalNestedObject2(wireFormat, (DataStructure)info.TransactionId, 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);
-
- JournalTopicAck info = (JournalTopicAck)o;
- info.Destination = (ActiveMQDestination) LooseUnmarshalNestedObject(wireFormat, dataIn);
- info.MessageId = (MessageId) LooseUnmarshalNestedObject(wireFormat, dataIn);
- info.MessageSequenceId = LooseUnmarshalLong(wireFormat, dataIn);
- info.SubscritionName = LooseUnmarshalString(dataIn);
- info.ClientId = LooseUnmarshalString(dataIn);
- info.TransactionId = (TransactionId) LooseUnmarshalNestedObject(wireFormat, dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- JournalTopicAck info = (JournalTopicAck)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalNestedObject(wireFormat, (DataStructure)info.Destination, dataOut);
- LooseMarshalNestedObject(wireFormat, (DataStructure)info.MessageId, dataOut);
- LooseMarshalLong(wireFormat, info.MessageSequenceId, dataOut);
- LooseMarshalString(info.SubscritionName, dataOut);
- LooseMarshalString(info.ClientId, dataOut);
- LooseMarshalNestedObject(wireFormat, (DataStructure)info.TransactionId, 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);
+
+ JournalTopicAck info = (JournalTopicAck)o;
+ TightMarshalNestedObject2(wireFormat, (DataStructure)info.Destination, dataOut, bs);
+ TightMarshalNestedObject2(wireFormat, (DataStructure)info.MessageId, dataOut, bs);
+ TightMarshalLong2(wireFormat, info.MessageSequenceId, dataOut, bs);
+ TightMarshalString2(info.SubscritionName, dataOut, bs);
+ TightMarshalString2(info.ClientId, dataOut, bs);
+ TightMarshalNestedObject2(wireFormat, (DataStructure)info.TransactionId, 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);
+
+ JournalTopicAck info = (JournalTopicAck)o;
+ info.Destination = (ActiveMQDestination) LooseUnmarshalNestedObject(wireFormat, dataIn);
+ info.MessageId = (MessageId) LooseUnmarshalNestedObject(wireFormat, dataIn);
+ info.MessageSequenceId = LooseUnmarshalLong(wireFormat, dataIn);
+ info.SubscritionName = LooseUnmarshalString(dataIn);
+ info.ClientId = LooseUnmarshalString(dataIn);
+ info.TransactionId = (TransactionId) LooseUnmarshalNestedObject(wireFormat, dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ JournalTopicAck info = (JournalTopicAck)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalNestedObject(wireFormat, (DataStructure)info.Destination, dataOut);
+ LooseMarshalNestedObject(wireFormat, (DataStructure)info.MessageId, dataOut);
+ LooseMarshalLong(wireFormat, info.MessageSequenceId, dataOut);
+ LooseMarshalString(info.SubscritionName, dataOut);
+ LooseMarshalString(info.ClientId, dataOut);
+ LooseMarshalNestedObject(wireFormat, (DataStructure)info.TransactionId, dataOut);
+ }
}
-
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTraceMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTraceMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTraceMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTraceMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for JournalTrace
+ *
+ * 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,81 +35,83 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for JournalTrace
- /// </summary>
- class JournalTraceMarshaller : BaseDataStreamMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new JournalTrace();
- }
-
- public override byte GetDataStructureType()
- {
- return JournalTrace.ID_JournalTrace;
- }
-
- //
- // 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);
-
- JournalTrace info = (JournalTrace)o;
- info.Message = TightUnmarshalString(dataIn, bs);
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- JournalTrace info = (JournalTrace)o;
-
- int rc = base.TightMarshal1(wireFormat, info, bs);
- rc += TightMarshalString1(info.Message, 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);
-
- JournalTrace info = (JournalTrace)o;
- TightMarshalString2(info.Message, 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 JournalTrace
+ /// </summary>
+ class JournalTraceMarshaller : BaseDataStreamMarshaller
{
- base.LooseUnmarshal(wireFormat, o, dataIn);
-
- JournalTrace info = (JournalTrace)o;
- info.Message = LooseUnmarshalString(dataIn);
-
- }
-
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- JournalTrace info = (JournalTrace)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalString(info.Message, dataOut);
-
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new JournalTrace();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return JournalTrace.ID_JOURNALTRACE;
+ }
+
+ //
+ // 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);
+
+ JournalTrace info = (JournalTrace)o;
+ info.Message = TightUnmarshalString(dataIn, bs);
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ JournalTrace info = (JournalTrace)o;
+
+ int rc = base.TightMarshal1(wireFormat, o, bs);
+ rc += TightMarshalString1(info.Message, 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);
+
+ JournalTrace info = (JournalTrace)o;
+ TightMarshalString2(info.Message, 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);
+
+ JournalTrace info = (JournalTrace)o;
+ info.Message = LooseUnmarshalString(dataIn);
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ JournalTrace info = (JournalTrace)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalString(info.Message, dataOut);
+ }
}
-
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTransactionMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTransactionMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTransactionMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/JournalTransactionMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for JournalTransaction
+ *
+ * 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,90 +35,92 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for JournalTransaction
- /// </summary>
- class JournalTransactionMarshaller : BaseDataStreamMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new JournalTransaction();
- }
-
- public override byte GetDataStructureType()
- {
- return JournalTransaction.ID_JournalTransaction;
- }
-
- //
- // 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 JournalTransaction
+ /// </summary>
+ class JournalTransactionMarshaller : BaseDataStreamMarshaller
{
- base.TightUnmarshal(wireFormat, o, dataIn, bs);
-
- JournalTransaction info = (JournalTransaction)o;
- info.TransactionId = (TransactionId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
- info.Type = dataIn.ReadByte();
- info.WasPrepared = bs.ReadBoolean();
-
- }
-
- //
- // Write the booleans that this object uses to a BooleanStream
- //
- public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
- JournalTransaction info = (JournalTransaction)o;
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new JournalTransaction();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return JournalTransaction.ID_JOURNALTRANSACTION;
+ }
+
+ //
+ // 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);
+
+ JournalTransaction info = (JournalTransaction)o;
+ info.TransactionId = (TransactionId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
+ info.Type = dataIn.ReadByte();
+ info.WasPrepared = bs.ReadBoolean();
+ }
+
+ //
+ // Write the booleans that this object uses to a BooleanStream
+ //
+ public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs)
+ {
+ JournalTransaction info = (JournalTransaction)o;
- int rc = base.TightMarshal1(wireFormat, info, bs);
+ int rc = base.TightMarshal1(wireFormat, o, bs);
rc += TightMarshalNestedObject1(wireFormat, (DataStructure)info.TransactionId, bs);
- bs.WriteBoolean(info.WasPrepared);
-
- return rc + 1;
- }
-
- //
- // 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);
-
- JournalTransaction info = (JournalTransaction)o;
- TightMarshalNestedObject2(wireFormat, (DataStructure)info.TransactionId, dataOut, bs);
- dataOut.Write(info.Type);
- 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);
-
- JournalTransaction info = (JournalTransaction)o;
- info.TransactionId = (TransactionId) LooseUnmarshalNestedObject(wireFormat, dataIn);
- info.Type = dataIn.ReadByte();
- info.WasPrepared = dataIn.ReadBoolean();
-
- }
+ bs.WriteBoolean(info.WasPrepared);
- //
- // Write a object instance to data output stream
- //
- public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut) {
-
- JournalTransaction info = (JournalTransaction)o;
-
- base.LooseMarshal(wireFormat, o, dataOut);
- LooseMarshalNestedObject(wireFormat, (DataStructure)info.TransactionId, dataOut);
- dataOut.Write(info.Type);
- dataOut.Write(info.WasPrepared);
+ return rc + 1;
+ }
+ //
+ // 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);
+
+ JournalTransaction info = (JournalTransaction)o;
+ TightMarshalNestedObject2(wireFormat, (DataStructure)info.TransactionId, dataOut, bs);
+ dataOut.Write(info.Type);
+ 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);
+
+ JournalTransaction info = (JournalTransaction)o;
+ info.TransactionId = (TransactionId) LooseUnmarshalNestedObject(wireFormat, dataIn);
+ info.Type = dataIn.ReadByte();
+ info.WasPrepared = dataIn.ReadBoolean();
+ }
+
+ //
+ // Write a object instance to data output stream
+ //
+ public override void LooseMarshal(OpenWireFormat wireFormat, Object o, BinaryWriter dataOut)
+ {
+
+ JournalTransaction info = (JournalTransaction)o;
+
+ base.LooseMarshal(wireFormat, o, dataOut);
+ LooseMarshalNestedObject(wireFormat, (DataStructure)info.TransactionId, dataOut);
+ dataOut.Write(info.Type);
+ dataOut.Write(info.WasPrepared);
+ }
}
-
- }
}
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/KeepAliveInfoMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/KeepAliveInfoMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/KeepAliveInfoMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/KeepAliveInfoMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for KeepAliveInfo
+ *
+ * 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,68 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for KeepAliveInfo
- /// </summary>
- class KeepAliveInfoMarshaller : BaseCommandMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new KeepAliveInfo();
- }
-
- public override byte GetDataStructureType()
+ /// <summary>
+ /// Marshalling code for Open Wire Format for KeepAliveInfo
+ /// </summary>
+ class KeepAliveInfoMarshaller : BaseCommandMarshaller
{
- return KeepAliveInfo.ID_KeepAliveInfo;
- }
-
- //
- // 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) {
- KeepAliveInfo info = (KeepAliveInfo)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);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new KeepAliveInfo();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return KeepAliveInfo.ID_KEEPALIVEINFO;
+ }
+
+ //
+ // 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/V1/LastPartialCommandMarshaller.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/LastPartialCommandMarshaller.cs?rev=799407&r1=799406&r2=799407&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/LastPartialCommandMarshaller.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/OpenWire/V1/LastPartialCommandMarshaller.cs Thu Jul 30 19:06:34 2009
@@ -1,25 +1,29 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You 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.
-*/
-
-//
-// 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
-//
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/*
+ *
+ * Marshaler code for OpenWire format for LastPartialCommand
+ *
+ * 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,68 +35,69 @@
namespace Apache.NMS.ActiveMQ.OpenWire.V1
{
- /// <summary>
- /// Marshalling code for Open Wire Format for LastPartialCommand
- /// </summary>
- class LastPartialCommandMarshaller : PartialCommandMarshaller
- {
-
-
- public override DataStructure CreateObject()
- {
- return new LastPartialCommand();
- }
-
- public override byte GetDataStructureType()
+ /// <summary>
+ /// Marshalling code for Open Wire Format for LastPartialCommand
+ /// </summary>
+ class LastPartialCommandMarshaller : PartialCommandMarshaller
{
- return LastPartialCommand.ID_LastPartialCommand;
- }
-
- //
- // 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) {
- LastPartialCommand info = (LastPartialCommand)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);
+ /// <summery>
+ /// Creates an instance of the Object that this marshaller handles.
+ /// </summery>
+ public override DataStructure CreateObject()
+ {
+ return new LastPartialCommand();
+ }
+
+ /// <summery>
+ /// Returns the type code for the Object that this Marshaller handles..
+ /// </summery>
+ public override byte GetDataStructureType()
+ {
+ return LastPartialCommand.ID_LASTPARTIALCOMMAND;
+ }
+
+ //
+ // 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);
+ }
}
-
- }
}