mirror of https://github.com/apache/activemq.git
Get it to compile after refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383068 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
42ac3f1afc
commit
aae59ee589
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQBytesMessage
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQDestination
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQMapMessage
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQMessage
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQObjectMessage
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQQueue
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQStreamMessage
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQTempDestination
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQTempQueue
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQTempTopic
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQTextMessage
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ActiveMQTopic
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for BaseCommand
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for BrokerId
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for BrokerInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConnectionError
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConnectionId
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConnectionInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConsumerId
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ConsumerInfo
|
||||
|
@ -60,6 +59,7 @@ namespace OpenWire.Client.IO
|
|||
info.Browser = bs.ReadBoolean();
|
||||
info.Destination = (ActiveMQDestination) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
|
||||
info.PrefetchSize = BaseDataStreamMarshaller.ReadInt(dataIn);
|
||||
info.MaximumPendingMessageLimit = BaseDataStreamMarshaller.ReadInt(dataIn);
|
||||
info.DispatchAsync = bs.ReadBoolean();
|
||||
info.Selector = TightUnmarshalString(dataIn, bs);
|
||||
info.SubcriptionName = TightUnmarshalString(dataIn, bs);
|
||||
|
@ -94,7 +94,7 @@ namespace OpenWire.Client.IO
|
|||
rc += TightMarshalCachedObject1(wireFormat, info.ConsumerId, bs);
|
||||
bs.WriteBoolean(info.Browser);
|
||||
rc += TightMarshalCachedObject1(wireFormat, info.Destination, bs);
|
||||
bs.WriteBoolean(info.DispatchAsync);
|
||||
bs.WriteBoolean(info.DispatchAsync);
|
||||
rc += TightMarshalString1(info.Selector, bs);
|
||||
rc += TightMarshalString1(info.SubcriptionName, bs);
|
||||
bs.WriteBoolean(info.NoLocal);
|
||||
|
@ -103,7 +103,7 @@ namespace OpenWire.Client.IO
|
|||
rc += TightMarshalObjectArray1(wireFormat, info.BrokerPath, bs);
|
||||
bs.WriteBoolean(info.NetworkSubscription);
|
||||
|
||||
return rc + 5;
|
||||
return rc + 9;
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -117,6 +117,7 @@ namespace OpenWire.Client.IO
|
|||
bs.ReadBoolean();
|
||||
TightMarshalCachedObject2(wireFormat, info.Destination, dataOut, bs);
|
||||
BaseDataStreamMarshaller.WriteInt(info.PrefetchSize, dataOut);
|
||||
BaseDataStreamMarshaller.WriteInt(info.MaximumPendingMessageLimit, dataOut);
|
||||
bs.ReadBoolean();
|
||||
TightMarshalString2(info.Selector, dataOut, bs);
|
||||
TightMarshalString2(info.SubcriptionName, dataOut, bs);
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ControlCommand
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for DataArrayResponse
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for DataResponse
|
||||
|
|
|
@ -1,69 +1,68 @@
|
|||
//
|
||||
//
|
||||
// Copyright 2005-2006 The Apache Software Foundation
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for DataStructureSupport
|
||||
//
|
||||
//
|
||||
// NOTE!: This file is autogenerated - do not modify!
|
||||
// if you need to make a change, please see the Groovy scripts in the
|
||||
// activemq-core module
|
||||
//
|
||||
public abstract class DataStructureSupportMarshaller : BaseDataStreamMarshaller
|
||||
{
|
||||
|
||||
//
|
||||
// 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) {
|
||||
DataStructureSupport info = (DataStructureSupport)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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
//
|
||||
//
|
||||
// Copyright 2005-2006 The Apache Software Foundation
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for DataStructureSupport
|
||||
//
|
||||
//
|
||||
// NOTE!: This file is autogenerated - do not modify!
|
||||
// if you need to make a change, please see the Groovy scripts in the
|
||||
// activemq-core module
|
||||
//
|
||||
public abstract class DataStructureSupportMarshaller : BaseDataStreamMarshaller
|
||||
{
|
||||
|
||||
//
|
||||
// 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) {
|
||||
DataStructureSupport info = (DataStructureSupport)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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for DestinationInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for DiscoveryEvent
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ExceptionResponse
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for FlushCommand
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for IntegerResponse
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for JournalQueueAck
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for JournalTopicAck
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for JournalTrace
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for JournalTransaction
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for KeepAliveInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for LocalTransactionId
|
||||
|
|
|
@ -1,91 +1,90 @@
|
|||
//
|
||||
//
|
||||
// Copyright 2005-2006 The Apache Software Foundation
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
// Marshalling code for Open Wire Format for ExceptionResponse
|
||||
//
|
||||
//
|
||||
// NOTE!: This file is autogenerated - do not modify!
|
||||
// if you need to make a change, please see the Groovy scripts in the
|
||||
// activemq-openwire module
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
{
|
||||
public class MarshallerFactory
|
||||
{
|
||||
public void configure(OpenWireFormat format)
|
||||
{
|
||||
|
||||
format.addMarshaller(new MessageIdMarshaller());
|
||||
format.addMarshaller(new BrokerInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQTempQueueMarshaller());
|
||||
format.addMarshaller(new LocalTransactionIdMarshaller());
|
||||
format.addMarshaller(new RemoveSubscriptionInfoMarshaller());
|
||||
format.addMarshaller(new IntegerResponseMarshaller());
|
||||
format.addMarshaller(new ActiveMQQueueMarshaller());
|
||||
format.addMarshaller(new DestinationInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQBytesMessageMarshaller());
|
||||
format.addMarshaller(new ShutdownInfoMarshaller());
|
||||
format.addMarshaller(new DataResponseMarshaller());
|
||||
format.addMarshaller(new SessionIdMarshaller());
|
||||
format.addMarshaller(new DataArrayResponseMarshaller());
|
||||
format.addMarshaller(new JournalQueueAckMarshaller());
|
||||
format.addMarshaller(new WireFormatInfoMarshaller());
|
||||
format.addMarshaller(new ResponseMarshaller());
|
||||
format.addMarshaller(new ConnectionErrorMarshaller());
|
||||
format.addMarshaller(new ActiveMQObjectMessageMarshaller());
|
||||
format.addMarshaller(new ConsumerInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQTempTopicMarshaller());
|
||||
format.addMarshaller(new ConnectionIdMarshaller());
|
||||
format.addMarshaller(new DiscoveryEventMarshaller());
|
||||
format.addMarshaller(new ConnectionInfoMarshaller());
|
||||
format.addMarshaller(new KeepAliveInfoMarshaller());
|
||||
format.addMarshaller(new XATransactionIdMarshaller());
|
||||
format.addMarshaller(new JournalTraceMarshaller());
|
||||
format.addMarshaller(new FlushCommandMarshaller());
|
||||
format.addMarshaller(new ConsumerIdMarshaller());
|
||||
format.addMarshaller(new JournalTopicAckMarshaller());
|
||||
format.addMarshaller(new ActiveMQTextMessageMarshaller());
|
||||
format.addMarshaller(new BrokerIdMarshaller());
|
||||
format.addMarshaller(new MessageDispatchMarshaller());
|
||||
format.addMarshaller(new ProducerInfoMarshaller());
|
||||
format.addMarshaller(new SubscriptionInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQMapMessageMarshaller());
|
||||
format.addMarshaller(new MessageDispatchNotificationMarshaller());
|
||||
format.addMarshaller(new SessionInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQMessageMarshaller());
|
||||
format.addMarshaller(new TransactionInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQStreamMessageMarshaller());
|
||||
format.addMarshaller(new MessageAckMarshaller());
|
||||
format.addMarshaller(new ProducerIdMarshaller());
|
||||
format.addMarshaller(new ActiveMQTopicMarshaller());
|
||||
format.addMarshaller(new JournalTransactionMarshaller());
|
||||
format.addMarshaller(new RemoveInfoMarshaller());
|
||||
format.addMarshaller(new ControlCommandMarshaller());
|
||||
format.addMarshaller(new ExceptionResponseMarshaller());
|
||||
}
|
||||
}
|
||||
}
|
||||
//
|
||||
//
|
||||
// Copyright 2005-2006 The Apache Software Foundation
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
// Marshalling code for Open Wire Format for ExceptionResponse
|
||||
//
|
||||
//
|
||||
// NOTE!: This file is autogenerated - do not modify!
|
||||
// if you need to make a change, please see the Groovy scripts in the
|
||||
// activemq-openwire module
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
public class MarshallerFactory
|
||||
{
|
||||
public void configure(OpenWireFormat format)
|
||||
{
|
||||
|
||||
format.addMarshaller(new MessageIdMarshaller());
|
||||
format.addMarshaller(new BrokerInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQTempQueueMarshaller());
|
||||
format.addMarshaller(new LocalTransactionIdMarshaller());
|
||||
format.addMarshaller(new RemoveSubscriptionInfoMarshaller());
|
||||
format.addMarshaller(new IntegerResponseMarshaller());
|
||||
format.addMarshaller(new ActiveMQQueueMarshaller());
|
||||
format.addMarshaller(new DestinationInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQBytesMessageMarshaller());
|
||||
format.addMarshaller(new ShutdownInfoMarshaller());
|
||||
format.addMarshaller(new DataResponseMarshaller());
|
||||
format.addMarshaller(new SessionIdMarshaller());
|
||||
format.addMarshaller(new DataArrayResponseMarshaller());
|
||||
format.addMarshaller(new JournalQueueAckMarshaller());
|
||||
format.addMarshaller(new WireFormatInfoMarshaller());
|
||||
format.addMarshaller(new ResponseMarshaller());
|
||||
format.addMarshaller(new ConnectionErrorMarshaller());
|
||||
format.addMarshaller(new ActiveMQObjectMessageMarshaller());
|
||||
format.addMarshaller(new ConsumerInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQTempTopicMarshaller());
|
||||
format.addMarshaller(new ConnectionIdMarshaller());
|
||||
format.addMarshaller(new DiscoveryEventMarshaller());
|
||||
format.addMarshaller(new ConnectionInfoMarshaller());
|
||||
format.addMarshaller(new KeepAliveInfoMarshaller());
|
||||
format.addMarshaller(new XATransactionIdMarshaller());
|
||||
format.addMarshaller(new JournalTraceMarshaller());
|
||||
format.addMarshaller(new FlushCommandMarshaller());
|
||||
format.addMarshaller(new ConsumerIdMarshaller());
|
||||
format.addMarshaller(new JournalTopicAckMarshaller());
|
||||
format.addMarshaller(new ActiveMQTextMessageMarshaller());
|
||||
format.addMarshaller(new BrokerIdMarshaller());
|
||||
format.addMarshaller(new MessageDispatchMarshaller());
|
||||
format.addMarshaller(new ProducerInfoMarshaller());
|
||||
format.addMarshaller(new SubscriptionInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQMapMessageMarshaller());
|
||||
format.addMarshaller(new MessageDispatchNotificationMarshaller());
|
||||
format.addMarshaller(new SessionInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQMessageMarshaller());
|
||||
format.addMarshaller(new TransactionInfoMarshaller());
|
||||
format.addMarshaller(new ActiveMQStreamMessageMarshaller());
|
||||
format.addMarshaller(new MessageAckMarshaller());
|
||||
format.addMarshaller(new ProducerIdMarshaller());
|
||||
format.addMarshaller(new ActiveMQTopicMarshaller());
|
||||
format.addMarshaller(new JournalTransactionMarshaller());
|
||||
format.addMarshaller(new RemoveInfoMarshaller());
|
||||
format.addMarshaller(new ControlCommandMarshaller());
|
||||
format.addMarshaller(new ExceptionResponseMarshaller());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for MessageAck
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for MessageDispatch
|
||||
|
|
|
@ -1,96 +1,95 @@
|
|||
//
|
||||
//
|
||||
// Copyright 2005-2006 The Apache Software Foundation
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for MessageDispatchNotification
|
||||
//
|
||||
//
|
||||
// NOTE!: This file is autogenerated - do not modify!
|
||||
// if you need to make a change, please see the Groovy scripts in the
|
||||
// activemq-core module
|
||||
//
|
||||
public class MessageDispatchNotificationMarshaller : BaseCommandMarshaller
|
||||
{
|
||||
|
||||
|
||||
public override DataStructure CreateObject()
|
||||
{
|
||||
return new MessageDispatchNotification();
|
||||
}
|
||||
|
||||
public override byte GetDataStructureType()
|
||||
{
|
||||
return MessageDispatchNotification.ID_MessageDispatchNotification;
|
||||
}
|
||||
|
||||
//
|
||||
// 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);
|
||||
|
||||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
info.ConsumerId = (ConsumerId) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
|
||||
info.Destination = (ActiveMQDestination) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
|
||||
info.DeliverySequenceId = TightUnmarshalLong(wireFormat, dataIn, bs);
|
||||
info.MessageId = (MessageId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
|
||||
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Write the booleans that this object uses to a BooleanStream
|
||||
//
|
||||
public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
|
||||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, info.ConsumerId, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, info.Destination, bs);
|
||||
rc += TightMarshalLong1(wireFormat, info.DeliverySequenceId, bs);
|
||||
rc += TightMarshalNestedObject1(wireFormat, info.MessageId, 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);
|
||||
|
||||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
TightMarshalCachedObject2(wireFormat, info.ConsumerId, dataOut, bs);
|
||||
TightMarshalCachedObject2(wireFormat, info.Destination, dataOut, bs);
|
||||
TightMarshalLong2(wireFormat, info.DeliverySequenceId, dataOut, bs);
|
||||
TightMarshalNestedObject2(wireFormat, info.MessageId, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
//
|
||||
//
|
||||
// Copyright 2005-2006 The Apache Software Foundation
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for MessageDispatchNotification
|
||||
//
|
||||
//
|
||||
// NOTE!: This file is autogenerated - do not modify!
|
||||
// if you need to make a change, please see the Groovy scripts in the
|
||||
// activemq-core module
|
||||
//
|
||||
public class MessageDispatchNotificationMarshaller : BaseCommandMarshaller
|
||||
{
|
||||
|
||||
|
||||
public override DataStructure CreateObject()
|
||||
{
|
||||
return new MessageDispatchNotification();
|
||||
}
|
||||
|
||||
public override byte GetDataStructureType()
|
||||
{
|
||||
return MessageDispatchNotification.ID_MessageDispatchNotification;
|
||||
}
|
||||
|
||||
//
|
||||
// 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);
|
||||
|
||||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
info.ConsumerId = (ConsumerId) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
|
||||
info.Destination = (ActiveMQDestination) TightUnmarshalCachedObject(wireFormat, dataIn, bs);
|
||||
info.DeliverySequenceId = TightUnmarshalLong(wireFormat, dataIn, bs);
|
||||
info.MessageId = (MessageId) TightUnmarshalNestedObject(wireFormat, dataIn, bs);
|
||||
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Write the booleans that this object uses to a BooleanStream
|
||||
//
|
||||
public override int TightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) {
|
||||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
|
||||
int rc = base.TightMarshal1(wireFormat, info, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, info.ConsumerId, bs);
|
||||
rc += TightMarshalCachedObject1(wireFormat, info.Destination, bs);
|
||||
rc += TightMarshalLong1(wireFormat, info.DeliverySequenceId, bs);
|
||||
rc += TightMarshalNestedObject1(wireFormat, info.MessageId, 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);
|
||||
|
||||
MessageDispatchNotification info = (MessageDispatchNotification)o;
|
||||
TightMarshalCachedObject2(wireFormat, info.ConsumerId, dataOut, bs);
|
||||
TightMarshalCachedObject2(wireFormat, info.Destination, dataOut, bs);
|
||||
TightMarshalLong2(wireFormat, info.DeliverySequenceId, dataOut, bs);
|
||||
TightMarshalNestedObject2(wireFormat, info.MessageId, dataOut, bs);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for MessageId
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for Message
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ProducerId
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ProducerInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for RemoveInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for RemoveSubscriptionInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for Response
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for SessionId
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for SessionInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for ShutdownInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for SubscriptionInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for TransactionId
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for TransactionInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for WireFormatInfo
|
||||
|
|
|
@ -19,12 +19,11 @@ using System;
|
|||
using System.Collections;
|
||||
using System.IO;
|
||||
|
||||
using OpenWire.Client;
|
||||
using OpenWire.Client.Commands;
|
||||
using OpenWire.Client.Core;
|
||||
using OpenWire.Client.IO;
|
||||
using ActiveMQ.OpenWire;
|
||||
using ActiveMQ.OpenWire.Commands;
|
||||
using ActiveMQ.OpenWire.V1;
|
||||
|
||||
namespace OpenWire.Client.IO
|
||||
namespace ActiveMQ.OpenWire.V1
|
||||
{
|
||||
//
|
||||
// Marshalling code for Open Wire Format for XATransactionId
|
||||
|
|
Loading…
Reference in New Issue