mirror of https://github.com/apache/activemq.git
Some more refactors:
Moving the jms type interfaces to the JMS namespace, hopefully this will be come a standardized set of interfaces for dotnet in the furture. git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383295 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb28820a8e
commit
47a327ab83
|
@ -1,53 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
|
||||||
* applicable.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Exception thrown when the broker returns an error
|
|
||||||
/// </summary>
|
|
||||||
public class BrokerException : OpenWireException
|
|
||||||
{
|
|
||||||
|
|
||||||
private BrokerError brokerError;
|
|
||||||
|
|
||||||
public BrokerException(BrokerError brokerError) : base(
|
|
||||||
brokerError.ExceptionClass + " : " + brokerError.Message)
|
|
||||||
{
|
|
||||||
this.brokerError = brokerError;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BrokerError BrokerError {
|
|
||||||
get {
|
|
||||||
return brokerError;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public virtual string JavaStackTrace
|
|
||||||
{
|
|
||||||
get {
|
|
||||||
return brokerError.StackTrace;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,34 +1,34 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
using System.Collections;
|
using JMS;
|
||||||
|
|
||||||
using ActiveMQ;
|
|
||||||
|
namespace ActiveMQ.Commands
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
{
|
||||||
{
|
public class ActiveMQBytesMessage : ActiveMQMessage, IBytesMessage
|
||||||
public class ActiveMQBytesMessage : ActiveMQMessage, IBytesMessage
|
{
|
||||||
{
|
public const byte ID_ActiveMQBytesMessage = 24;
|
||||||
public const byte ID_ActiveMQBytesMessage = 24;
|
|
||||||
|
|
||||||
|
public override byte GetDataStructureType()
|
||||||
public override byte GetDataStructureType()
|
{
|
||||||
{
|
return ID_ActiveMQBytesMessage;
|
||||||
return ID_ActiveMQBytesMessage;
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
1058
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQDestination.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQDestination.cs
Executable file → Normal file
1058
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQDestination.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQDestination.cs
Executable file → Normal file
File diff suppressed because it is too large
Load Diff
|
@ -1,65 +1,66 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
using System.Collections;
|
using ActiveMQ.OpenWire;
|
||||||
|
using JMS;
|
||||||
using ActiveMQ;
|
using System;
|
||||||
using ActiveMQ.OpenWire;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
public class ActiveMQMapMessage : ActiveMQMessage, IMapMessage
|
public class ActiveMQMapMessage : ActiveMQMessage, IMapMessage
|
||||||
{
|
{
|
||||||
public const byte ID_ActiveMQMapMessage = 25;
|
public const byte ID_ActiveMQMapMessage = 25;
|
||||||
|
|
||||||
private PrimitiveMap body;
|
private PrimitiveMap body;
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType()
|
public override byte GetDataStructureType()
|
||||||
{
|
{
|
||||||
return ID_ActiveMQMapMessage;
|
return ID_ActiveMQMapMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IPrimitiveMap Body
|
public IPrimitiveMap Body
|
||||||
{
|
{
|
||||||
get {
|
get {
|
||||||
if (body == null)
|
if (body == null)
|
||||||
{
|
{
|
||||||
body = PrimitiveMap.Unmarshal(Content);
|
body = PrimitiveMap.Unmarshal(Content);
|
||||||
}
|
}
|
||||||
return body;
|
return body;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void BeforeMarshall(OpenWireFormat wireFormat)
|
public override void BeforeMarshall(OpenWireFormat wireFormat)
|
||||||
{
|
{
|
||||||
if (body == null)
|
if (body == null)
|
||||||
{
|
{
|
||||||
Content = null;
|
Content = null;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Content = body.Marshal();
|
Content = body.Marshal();
|
||||||
}
|
}
|
||||||
|
|
||||||
Console.WriteLine("BeforeMarshalling, content is: " + Content);
|
Console.WriteLine("BeforeMarshalling, content is: " + Content);
|
||||||
|
|
||||||
base.BeforeMarshall(wireFormat);
|
base.BeforeMarshall(wireFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,308 +1,318 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ;
|
||||||
using System.Collections;
|
using ActiveMQ.Commands;
|
||||||
|
using ActiveMQ.OpenWire;
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
using JMS;
|
||||||
{
|
|
||||||
public delegate void AcknowledgeHandler(ActiveMQMessage message);
|
|
||||||
|
namespace ActiveMQ.Commands
|
||||||
public class ActiveMQMessage : Message, IMessage, MarshallAware
|
{
|
||||||
{
|
public delegate void AcknowledgeHandler(ActiveMQMessage message);
|
||||||
public const byte ID_ActiveMQMessage = 23;
|
}
|
||||||
|
|
||||||
protected static MessagePropertyHelper propertyHelper = new MessagePropertyHelper();
|
namespace ActiveMQ.Commands
|
||||||
|
{
|
||||||
private PrimitiveMap properties;
|
public class ActiveMQMessage : Message, IMessage, MarshallAware
|
||||||
|
{
|
||||||
public event AcknowledgeHandler Acknowledger;
|
public const byte ID_ActiveMQMessage = 23;
|
||||||
|
|
||||||
public static ActiveMQMessage Transform(IMessage message)
|
protected static MessagePropertyHelper propertyHelper = new MessagePropertyHelper();
|
||||||
{
|
|
||||||
return (ActiveMQMessage) message;
|
private PrimitiveMap properties;
|
||||||
}
|
|
||||||
|
public event AcknowledgeHandler Acknowledger;
|
||||||
// TODO generate Equals method
|
|
||||||
// TODO generate GetHashCode method
|
public static ActiveMQMessage Transform(IMessage message)
|
||||||
|
{
|
||||||
|
return (ActiveMQMessage) message;
|
||||||
public override byte GetDataStructureType()
|
}
|
||||||
{
|
|
||||||
return ID_ActiveMQMessage;
|
// TODO generate Equals method
|
||||||
}
|
// TODO generate GetHashCode method
|
||||||
|
|
||||||
public void Acknowledge()
|
|
||||||
{
|
public override byte GetDataStructureType()
|
||||||
if (Acknowledger == null){
|
{
|
||||||
throw new OpenWireException("No Acknowledger has been associated with this message: " + this);}
|
return ID_ActiveMQMessage;
|
||||||
else {
|
}
|
||||||
Acknowledger(this);
|
|
||||||
}
|
public void Acknowledge()
|
||||||
}
|
{
|
||||||
|
if (Acknowledger == null)
|
||||||
|
{
|
||||||
// Properties
|
throw new OpenWireException("No Acknowledger has been associated with this message: " + this);
|
||||||
|
}
|
||||||
public IPrimitiveMap Properties
|
else
|
||||||
{
|
{
|
||||||
get {
|
Acknowledger(this);
|
||||||
if (properties == null)
|
}
|
||||||
{
|
}
|
||||||
properties = PrimitiveMap.Unmarshal(MarshalledProperties);
|
|
||||||
}
|
|
||||||
return properties;
|
// Properties
|
||||||
}
|
|
||||||
}
|
public IPrimitiveMap Properties
|
||||||
|
{
|
||||||
public IDestination FromDestination
|
get {
|
||||||
{
|
if (properties == null)
|
||||||
get { return Destination; }
|
{
|
||||||
set { this.Destination = ActiveMQDestination.Transform(value); }
|
properties = PrimitiveMap.Unmarshal(MarshalledProperties);
|
||||||
}
|
}
|
||||||
|
return properties;
|
||||||
|
}
|
||||||
// IMessage interface
|
}
|
||||||
|
|
||||||
// JMS headers
|
public IDestination FromDestination
|
||||||
|
{
|
||||||
/// <summary>
|
get { return Destination; }
|
||||||
/// The correlation ID used to correlate messages with conversations or long running business processes
|
set { this.Destination = ActiveMQDestination.Transform(value); }
|
||||||
/// </summary>
|
}
|
||||||
public string JMSCorrelationID
|
|
||||||
{
|
|
||||||
get {
|
// IMessage interface
|
||||||
return CorrelationId;
|
|
||||||
}
|
// JMS headers
|
||||||
set {
|
|
||||||
CorrelationId = value;
|
/// <summary>
|
||||||
}
|
/// The correlation ID used to correlate messages with conversations or long running business processes
|
||||||
}
|
/// </summary>
|
||||||
|
public string JMSCorrelationID
|
||||||
/// <summary>
|
{
|
||||||
/// The destination of the message
|
get {
|
||||||
/// </summary>
|
return CorrelationId;
|
||||||
public IDestination JMSDestination
|
}
|
||||||
{
|
set {
|
||||||
get {
|
CorrelationId = value;
|
||||||
return OriginalDestination;
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
/// <summary>
|
||||||
/// <summary>
|
/// The destination of the message
|
||||||
/// The time in milliseconds that this message should expire in
|
/// </summary>
|
||||||
/// </summary>
|
public IDestination JMSDestination
|
||||||
public long JMSExpiration
|
{
|
||||||
{
|
get {
|
||||||
get {
|
return OriginalDestination;
|
||||||
return Expiration;
|
}
|
||||||
}
|
}
|
||||||
set {
|
|
||||||
Expiration = value;
|
/// <summary>
|
||||||
}
|
/// The time in milliseconds that this message should expire in
|
||||||
}
|
/// </summary>
|
||||||
|
public long JMSExpiration
|
||||||
/// <summary>
|
{
|
||||||
/// The message ID which is set by the provider
|
get {
|
||||||
/// </summary>
|
return Expiration;
|
||||||
public string JMSMessageId
|
}
|
||||||
{
|
set {
|
||||||
get {
|
Expiration = value;
|
||||||
return BaseDataStreamMarshaller.ToString(MessageId);
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
/// <summary>
|
||||||
/// <summary>
|
/// The message ID which is set by the provider
|
||||||
/// Whether or not this message is persistent
|
/// </summary>
|
||||||
/// </summary>
|
public string JMSMessageId
|
||||||
public bool JMSPersistent
|
{
|
||||||
{
|
get {
|
||||||
get {
|
return BaseDataStreamMarshaller.ToString(MessageId);
|
||||||
return Persistent;
|
}
|
||||||
}
|
}
|
||||||
set {
|
|
||||||
Persistent = value;
|
/// <summary>
|
||||||
}
|
/// Whether or not this message is persistent
|
||||||
}
|
/// </summary>
|
||||||
|
public bool JMSPersistent
|
||||||
/// <summary>
|
{
|
||||||
/// The Priority on this message
|
get {
|
||||||
/// </summary>
|
return Persistent;
|
||||||
public byte JMSPriority
|
}
|
||||||
{
|
set {
|
||||||
get {
|
Persistent = value;
|
||||||
return Priority;
|
}
|
||||||
}
|
}
|
||||||
set {
|
|
||||||
Priority = value;
|
/// <summary>
|
||||||
}
|
/// The Priority on this message
|
||||||
}
|
/// </summary>
|
||||||
|
public byte JMSPriority
|
||||||
/// <summary>
|
{
|
||||||
/// Returns true if this message has been redelivered to this or another consumer before being acknowledged successfully.
|
get {
|
||||||
/// </summary>
|
return Priority;
|
||||||
public bool JMSRedelivered
|
}
|
||||||
{
|
set {
|
||||||
get {
|
Priority = value;
|
||||||
return RedeliveryCounter > 0;
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns true if this message has been redelivered to this or another consumer before being acknowledged successfully.
|
||||||
/// <summary>
|
/// </summary>
|
||||||
/// The destination that the consumer of this message should send replies to
|
public bool JMSRedelivered
|
||||||
/// </summary>
|
{
|
||||||
public IDestination JMSReplyTo
|
get {
|
||||||
{
|
return RedeliveryCounter > 0;
|
||||||
get {
|
}
|
||||||
return ReplyTo;
|
}
|
||||||
}
|
|
||||||
set {
|
|
||||||
ReplyTo = ActiveMQDestination.Transform(value);
|
/// <summary>
|
||||||
}
|
/// The destination that the consumer of this message should send replies to
|
||||||
}
|
/// </summary>
|
||||||
|
public IDestination JMSReplyTo
|
||||||
|
{
|
||||||
/// <summary>
|
get {
|
||||||
/// The timestamp the broker added to the message
|
return ReplyTo;
|
||||||
/// </summary>
|
}
|
||||||
public long JMSTimestamp
|
set {
|
||||||
{
|
ReplyTo = ActiveMQDestination.Transform(value);
|
||||||
get {
|
}
|
||||||
return Timestamp;
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
/// <summary>
|
||||||
/// <summary>
|
/// The timestamp the broker added to the message
|
||||||
/// The type name of this message
|
/// </summary>
|
||||||
/// </summary>
|
public long JMSTimestamp
|
||||||
public string JMSType
|
{
|
||||||
{
|
get {
|
||||||
get {
|
return Timestamp;
|
||||||
return Type;
|
}
|
||||||
}
|
}
|
||||||
set {
|
|
||||||
Type = value;
|
/// <summary>
|
||||||
}
|
/// The type name of this message
|
||||||
}
|
/// </summary>
|
||||||
|
public string JMSType
|
||||||
|
{
|
||||||
// JMS Extension headers
|
get {
|
||||||
|
return Type;
|
||||||
/// <summary>
|
}
|
||||||
/// Returns the number of times this message has been redelivered to other consumers without being acknowledged successfully.
|
set {
|
||||||
/// </summary>
|
Type = value;
|
||||||
public int JMSXDeliveryCount
|
}
|
||||||
{
|
}
|
||||||
get {
|
|
||||||
return RedeliveryCounter + 1;
|
|
||||||
}
|
// JMS Extension headers
|
||||||
}
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the number of times this message has been redelivered to other consumers without being acknowledged successfully.
|
||||||
/// <summary>
|
/// </summary>
|
||||||
/// The Message Group ID used to group messages together to the same consumer for the same group ID value
|
public int JMSXDeliveryCount
|
||||||
/// </summary>
|
{
|
||||||
public string JMSXGroupID
|
get {
|
||||||
{
|
return RedeliveryCounter + 1;
|
||||||
get {
|
}
|
||||||
return GroupID;
|
}
|
||||||
}
|
|
||||||
set {
|
|
||||||
GroupID = value;
|
/// <summary>
|
||||||
}
|
/// The Message Group ID used to group messages together to the same consumer for the same group ID value
|
||||||
}
|
/// </summary>
|
||||||
/// <summary>
|
public string JMSXGroupID
|
||||||
/// The Message Group Sequence counter to indicate the position in a group
|
{
|
||||||
/// </summary>
|
get {
|
||||||
public int JMSXGroupSeq
|
return GroupID;
|
||||||
{
|
}
|
||||||
get {
|
set {
|
||||||
return GroupSequence;
|
GroupID = value;
|
||||||
}
|
}
|
||||||
set {
|
}
|
||||||
GroupSequence = value;
|
/// <summary>
|
||||||
}
|
/// The Message Group Sequence counter to indicate the position in a group
|
||||||
}
|
/// </summary>
|
||||||
|
public int JMSXGroupSeq
|
||||||
/// <summary>
|
{
|
||||||
/// Returns the ID of the producers transaction
|
get {
|
||||||
/// </summary>
|
return GroupSequence;
|
||||||
public string JMSXProducerTXID
|
}
|
||||||
{
|
set {
|
||||||
get {
|
GroupSequence = value;
|
||||||
TransactionId txnId = OriginalTransactionId;
|
}
|
||||||
if (txnId == null)
|
}
|
||||||
{
|
|
||||||
txnId = TransactionId;
|
/// <summary>
|
||||||
}
|
/// Returns the ID of the producers transaction
|
||||||
if (txnId != null)
|
/// </summary>
|
||||||
{
|
public string JMSXProducerTXID
|
||||||
return BaseDataStreamMarshaller.ToString(txnId);
|
{
|
||||||
}
|
get {
|
||||||
return null;
|
TransactionId txnId = OriginalTransactionId;
|
||||||
}
|
if (txnId == null)
|
||||||
}
|
{
|
||||||
|
txnId = TransactionId;
|
||||||
public object GetObjectProperty(string name)
|
}
|
||||||
{
|
if (txnId != null)
|
||||||
return propertyHelper.GetObjectProperty(this, name);
|
{
|
||||||
}
|
return BaseDataStreamMarshaller.ToString(txnId);
|
||||||
|
}
|
||||||
public void SetObjectProperty(string name, object value)
|
return null;
|
||||||
{
|
}
|
||||||
propertyHelper.SetObjectProperty(this, name, value);
|
}
|
||||||
}
|
|
||||||
|
public object GetObjectProperty(string name)
|
||||||
// MarshallAware interface
|
{
|
||||||
|
return propertyHelper.GetObjectProperty(this, name);
|
||||||
public override bool IsMarshallAware()
|
}
|
||||||
{
|
|
||||||
return true;
|
public void SetObjectProperty(string name, object value)
|
||||||
}
|
{
|
||||||
|
propertyHelper.SetObjectProperty(this, name, value);
|
||||||
public virtual void BeforeMarshall(OpenWireFormat wireFormat)
|
}
|
||||||
{
|
|
||||||
MarshalledProperties = null;
|
// MarshallAware interface
|
||||||
if (properties != null)
|
|
||||||
{
|
public override bool IsMarshallAware()
|
||||||
MarshalledProperties = properties.Marshal();
|
{
|
||||||
}
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void AfterMarshall(OpenWireFormat wireFormat)
|
public virtual void BeforeMarshall(OpenWireFormat wireFormat)
|
||||||
{
|
{
|
||||||
}
|
MarshalledProperties = null;
|
||||||
|
if (properties != null)
|
||||||
public virtual void BeforeUnmarshall(OpenWireFormat wireFormat)
|
{
|
||||||
{
|
MarshalledProperties = properties.Marshal();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
public virtual void AfterUnmarshall(OpenWireFormat wireFormat)
|
|
||||||
{
|
public virtual void AfterMarshall(OpenWireFormat wireFormat)
|
||||||
}
|
{
|
||||||
|
}
|
||||||
public virtual void SetMarshalledForm(OpenWireFormat wireFormat, byte[] data)
|
|
||||||
{
|
public virtual void BeforeUnmarshall(OpenWireFormat wireFormat)
|
||||||
}
|
{
|
||||||
|
}
|
||||||
public virtual byte[] GetMarshalledForm(OpenWireFormat wireFormat)
|
|
||||||
{
|
public virtual void AfterUnmarshall(OpenWireFormat wireFormat)
|
||||||
return null;
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
public virtual void SetMarshalledForm(OpenWireFormat wireFormat, byte[] data)
|
||||||
}
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual byte[] GetMarshalledForm(OpenWireFormat wireFormat)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,55 +1,55 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ActiveMQObjectMessage
|
// Marshalling code for Open Wire Format for ActiveMQObjectMessage
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ActiveMQObjectMessage : ActiveMQMessage
|
public class ActiveMQObjectMessage : ActiveMQMessage
|
||||||
{
|
{
|
||||||
public const byte ID_ActiveMQObjectMessage = 26;
|
public const byte ID_ActiveMQObjectMessage = 26;
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ActiveMQObjectMessage;
|
return ID_ActiveMQObjectMessage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
114
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQQueue.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQQueue.cs
Executable file → Normal file
114
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQQueue.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQQueue.cs
Executable file → Normal file
|
@ -1,55 +1,59 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
|
using JMS;
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
using System;
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Summary description for ActiveMQQueue.
|
/// <summary>
|
||||||
/// </summary>
|
/// Summary description for ActiveMQQueue.
|
||||||
public class ActiveMQQueue : ActiveMQDestination, IQueue
|
/// </summary>
|
||||||
{
|
namespace ActiveMQ.Commands
|
||||||
public const byte ID_ActiveMQQueue = 100;
|
{
|
||||||
|
public class ActiveMQQueue : ActiveMQDestination, IQueue
|
||||||
public ActiveMQQueue() : base()
|
{
|
||||||
{
|
public const byte ID_ActiveMQQueue = 100;
|
||||||
}
|
|
||||||
public ActiveMQQueue(String name) : base(name)
|
public ActiveMQQueue() : base()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
public ActiveMQQueue(String name) : base(name)
|
||||||
public String QueueName
|
{
|
||||||
{
|
}
|
||||||
get { return PhysicalName; }
|
|
||||||
}
|
public String QueueName
|
||||||
|
{
|
||||||
public override byte GetDataStructureType()
|
get { return PhysicalName; }
|
||||||
{
|
}
|
||||||
return ID_ActiveMQQueue;
|
|
||||||
}
|
public override byte GetDataStructureType()
|
||||||
|
{
|
||||||
public override int GetDestinationType()
|
return ID_ActiveMQQueue;
|
||||||
{
|
}
|
||||||
return ACTIVEMQ_QUEUE;
|
|
||||||
}
|
public override int GetDestinationType()
|
||||||
|
{
|
||||||
public override ActiveMQDestination CreateDestination(String name)
|
return ACTIVEMQ_QUEUE;
|
||||||
{
|
}
|
||||||
return new ActiveMQQueue(name);
|
|
||||||
}
|
public override ActiveMQDestination CreateDestination(String name)
|
||||||
}
|
{
|
||||||
}
|
return new ActiveMQQueue(name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,42 +1,44 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
public class ActiveMQStreamMessage : ActiveMQMessage
|
public class ActiveMQStreamMessage : ActiveMQMessage
|
||||||
{
|
{
|
||||||
public const byte ID_ActiveMQStreamMessage = 27;
|
public const byte ID_ActiveMQStreamMessage = 27;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// TODO generate Equals method
|
// TODO generate Equals method
|
||||||
// TODO generate GetHashCode method
|
// TODO generate GetHashCode method
|
||||||
// TODO generate ToString method
|
// TODO generate ToString method
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType()
|
||||||
return ID_ActiveMQStreamMessage;
|
{
|
||||||
}
|
return ID_ActiveMQStreamMessage;
|
||||||
|
}
|
||||||
|
|
||||||
// Properties
|
|
||||||
|
// Properties
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -15,20 +15,21 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
|
||||||
|
//
|
||||||
|
// Marshalling code for Open Wire Format for ActiveMQTempDestination
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
|
// activemq-core module
|
||||||
|
//
|
||||||
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
public abstract class ActiveMQTempDestination : ActiveMQDestination
|
||||||
// Marshalling code for Open Wire Format for ActiveMQTempDestination
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
|
||||||
// activemq-core module
|
|
||||||
//
|
|
||||||
public abstract class ActiveMQTempDestination : ActiveMQDestination
|
|
||||||
{
|
{
|
||||||
public const byte ID_ActiveMQTempDestination = 0;
|
public const byte ID_ActiveMQTempDestination = 0;
|
||||||
|
|
||||||
|
@ -46,3 +47,4 @@ namespace ActiveMQ.OpenWire.Commands
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
116
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQTempQueue.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQTempQueue.cs
Executable file → Normal file
116
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQTempQueue.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQTempQueue.cs
Executable file → Normal file
|
@ -1,56 +1,60 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
|
using JMS;
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
using System;
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// A Temporary Queue
|
/// <summary>
|
||||||
/// </summary>
|
/// A Temporary Queue
|
||||||
public class ActiveMQTempQueue : ActiveMQTempDestination, ITemporaryQueue
|
/// </summary>
|
||||||
{
|
namespace ActiveMQ.Commands
|
||||||
public const byte ID_ActiveMQTempQueue = 102;
|
{
|
||||||
|
public class ActiveMQTempQueue : ActiveMQTempDestination, ITemporaryQueue
|
||||||
public ActiveMQTempQueue() : base()
|
{
|
||||||
{
|
public const byte ID_ActiveMQTempQueue = 102;
|
||||||
}
|
|
||||||
|
public ActiveMQTempQueue() : base()
|
||||||
public ActiveMQTempQueue(String name) : base(name)
|
{
|
||||||
{
|
}
|
||||||
}
|
|
||||||
|
public ActiveMQTempQueue(String name) : base(name)
|
||||||
public String GetQueueName()
|
{
|
||||||
{
|
}
|
||||||
return PhysicalName;
|
|
||||||
}
|
public String GetQueueName()
|
||||||
|
{
|
||||||
public override byte GetDataStructureType()
|
return PhysicalName;
|
||||||
{
|
}
|
||||||
return ID_ActiveMQTempQueue;
|
|
||||||
}
|
public override byte GetDataStructureType()
|
||||||
|
{
|
||||||
public override int GetDestinationType()
|
return ID_ActiveMQTempQueue;
|
||||||
{
|
}
|
||||||
return ACTIVEMQ_QUEUE;
|
|
||||||
}
|
public override int GetDestinationType()
|
||||||
|
{
|
||||||
public override ActiveMQDestination CreateDestination(String name)
|
return ACTIVEMQ_QUEUE;
|
||||||
{
|
}
|
||||||
return new ActiveMQTempQueue(name);
|
|
||||||
}
|
public override ActiveMQDestination CreateDestination(String name)
|
||||||
}
|
{
|
||||||
}
|
return new ActiveMQTempQueue(name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
116
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQTempTopic.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQTempTopic.cs
Executable file → Normal file
116
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQTempTopic.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQTempTopic.cs
Executable file → Normal file
|
@ -1,56 +1,60 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
|
using JMS;
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
using System;
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// A Temporary Topic
|
/// <summary>
|
||||||
/// </summary>
|
/// A Temporary Topic
|
||||||
public class ActiveMQTempTopic : ActiveMQTempDestination, ITemporaryTopic
|
/// </summary>
|
||||||
{
|
namespace ActiveMQ.Commands
|
||||||
public const byte ID_ActiveMQTempTopic = 103;
|
{
|
||||||
|
public class ActiveMQTempTopic : ActiveMQTempDestination, ITemporaryTopic
|
||||||
public ActiveMQTempTopic() : base()
|
{
|
||||||
{
|
public const byte ID_ActiveMQTempTopic = 103;
|
||||||
}
|
|
||||||
|
public ActiveMQTempTopic() : base()
|
||||||
public ActiveMQTempTopic(String name) : base(name)
|
{
|
||||||
{
|
}
|
||||||
}
|
|
||||||
|
public ActiveMQTempTopic(String name) : base(name)
|
||||||
public String GetTopicName()
|
{
|
||||||
{
|
}
|
||||||
return PhysicalName;
|
|
||||||
}
|
public String GetTopicName()
|
||||||
|
{
|
||||||
public override byte GetDataStructureType()
|
return PhysicalName;
|
||||||
{
|
}
|
||||||
return ID_ActiveMQTempTopic;
|
|
||||||
}
|
public override byte GetDataStructureType()
|
||||||
|
{
|
||||||
public override int GetDestinationType()
|
return ID_ActiveMQTempTopic;
|
||||||
{
|
}
|
||||||
return ACTIVEMQ_TOPIC;
|
|
||||||
}
|
public override int GetDestinationType()
|
||||||
|
{
|
||||||
public override ActiveMQDestination CreateDestination(String name)
|
return ACTIVEMQ_TOPIC;
|
||||||
{
|
}
|
||||||
return new ActiveMQTempTopic(name);
|
|
||||||
}
|
public override ActiveMQDestination CreateDestination(String name)
|
||||||
}
|
{
|
||||||
}
|
return new ActiveMQTempTopic(name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,91 +1,94 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
using System.Collections;
|
using JMS;
|
||||||
|
using System;
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
|
||||||
{
|
|
||||||
public class ActiveMQTextMessage : ActiveMQMessage, ITextMessage
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
public const byte ID_ActiveMQTextMessage = 28;
|
public class ActiveMQTextMessage : ActiveMQMessage, ITextMessage
|
||||||
|
{
|
||||||
private String text;
|
public const byte ID_ActiveMQTextMessage = 28;
|
||||||
|
|
||||||
public ActiveMQTextMessage()
|
private String text;
|
||||||
{
|
|
||||||
}
|
public ActiveMQTextMessage()
|
||||||
|
{
|
||||||
public ActiveMQTextMessage(String text)
|
}
|
||||||
{
|
|
||||||
this.Text = text;
|
public ActiveMQTextMessage(String text)
|
||||||
}
|
{
|
||||||
|
this.Text = text;
|
||||||
// TODO generate Equals method
|
}
|
||||||
// TODO generate GetHashCode method
|
|
||||||
// TODO generate ToString method
|
// TODO generate Equals method
|
||||||
|
// TODO generate GetHashCode method
|
||||||
|
// TODO generate ToString method
|
||||||
public override byte GetDataStructureType()
|
|
||||||
{
|
|
||||||
return ID_ActiveMQTextMessage;
|
public override byte GetDataStructureType()
|
||||||
}
|
{
|
||||||
|
return ID_ActiveMQTextMessage;
|
||||||
|
}
|
||||||
// Properties
|
|
||||||
|
|
||||||
public string Text
|
// Properties
|
||||||
{
|
|
||||||
get {
|
public string Text
|
||||||
if (text == null)
|
{
|
||||||
{
|
get {
|
||||||
// now lets read the content
|
if (text == null)
|
||||||
|
{
|
||||||
byte[] data = this.Content;
|
// now lets read the content
|
||||||
if (data != null)
|
|
||||||
{
|
byte[] data = this.Content;
|
||||||
// TODO assume that the text is ASCII
|
if (data != null)
|
||||||
char[] chars = new char[data.Length];
|
{
|
||||||
for (int i = 0; i < chars.Length; i++)
|
// TODO assume that the text is ASCII
|
||||||
{
|
char[] chars = new char[data.Length];
|
||||||
chars[i] = (char) data[i];
|
for (int i = 0; i < chars.Length; i++)
|
||||||
}
|
{
|
||||||
text = new String(chars);
|
chars[i] = (char) data[i];
|
||||||
}
|
}
|
||||||
}
|
text = new String(chars);
|
||||||
return text;
|
}
|
||||||
}
|
}
|
||||||
|
return text;
|
||||||
set {
|
}
|
||||||
this.text = value;
|
|
||||||
byte[] data = null;
|
set {
|
||||||
if (text != null)
|
this.text = value;
|
||||||
{
|
byte[] data = null;
|
||||||
// TODO assume that the text is ASCII
|
if (text != null)
|
||||||
data = new byte[text.Length];
|
{
|
||||||
|
// TODO assume that the text is ASCII
|
||||||
// now lets write the bytes
|
data = new byte[text.Length];
|
||||||
char[] chars = text.ToCharArray();
|
|
||||||
for (int i = 0; i < chars.Length; i++)
|
// now lets write the bytes
|
||||||
{
|
char[] chars = text.ToCharArray();
|
||||||
data[i] = (byte) chars[i];
|
for (int i = 0; i < chars.Length; i++)
|
||||||
}
|
{
|
||||||
}
|
data[i] = (byte) chars[i];
|
||||||
this.Content = data;
|
}
|
||||||
}
|
}
|
||||||
}
|
this.Content = data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
114
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQTopic.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQTopic.cs
Executable file → Normal file
114
openwire-dotnet/src/ActiveMQ/OpenWire/Commands/ActiveMQTopic.cs → openwire-dotnet/src/ActiveMQ/Commands/ActiveMQTopic.cs
Executable file → Normal file
|
@ -1,55 +1,59 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
|
using JMS;
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
using System;
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Summary description for ActiveMQTopic.
|
/// <summary>
|
||||||
/// </summary>
|
/// Summary description for ActiveMQTopic.
|
||||||
public class ActiveMQTopic : ActiveMQDestination, ITopic
|
/// </summary>
|
||||||
{
|
namespace ActiveMQ.Commands
|
||||||
public const byte ID_ActiveMQTopic = 101;
|
{
|
||||||
|
public class ActiveMQTopic : ActiveMQDestination, ITopic
|
||||||
public ActiveMQTopic() : base()
|
{
|
||||||
{
|
public const byte ID_ActiveMQTopic = 101;
|
||||||
}
|
|
||||||
public ActiveMQTopic(String name) : base(name)
|
public ActiveMQTopic() : base()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
public ActiveMQTopic(String name) : base(name)
|
||||||
public String TopicName
|
{
|
||||||
{
|
}
|
||||||
get { return PhysicalName; }
|
|
||||||
}
|
public String TopicName
|
||||||
|
{
|
||||||
public override byte GetDataStructureType()
|
get { return PhysicalName; }
|
||||||
{
|
}
|
||||||
return ID_ActiveMQTopic;
|
|
||||||
}
|
public override byte GetDataStructureType()
|
||||||
|
{
|
||||||
public override int GetDestinationType()
|
return ID_ActiveMQTopic;
|
||||||
{
|
}
|
||||||
return ACTIVEMQ_TOPIC;
|
|
||||||
}
|
public override int GetDestinationType()
|
||||||
|
{
|
||||||
public override ActiveMQDestination CreateDestination(String name)
|
return ACTIVEMQ_TOPIC;
|
||||||
{
|
}
|
||||||
return new ActiveMQTopic(name);
|
|
||||||
}
|
public override ActiveMQDestination CreateDestination(String name)
|
||||||
}
|
{
|
||||||
}
|
return new ActiveMQTopic(name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,50 +1,50 @@
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for BaseCommand
|
// Marshalling code for Open Wire Format for BaseCommand
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-openwire module
|
// activemq-openwire module
|
||||||
//
|
//
|
||||||
|
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
using System.Collections;
|
using ActiveMQ.OpenWire;
|
||||||
|
using System;
|
||||||
using ActiveMQ.OpenWire;
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
|
public abstract class BaseCommand : AbstractCommand
|
||||||
public abstract class BaseCommand : AbstractCommand
|
{
|
||||||
{
|
|
||||||
|
public override int GetHashCode()
|
||||||
public override int GetHashCode()
|
{
|
||||||
{
|
return (CommandId * 37) + GetDataStructureType();
|
||||||
return (CommandId * 37) + GetDataStructureType();
|
}
|
||||||
}
|
|
||||||
|
public override bool Equals(Object that)
|
||||||
public override bool Equals(Object that)
|
{
|
||||||
{
|
if (that is BaseCommand)
|
||||||
if (that is BaseCommand)
|
{
|
||||||
{
|
BaseCommand thatCommand = (BaseCommand) that;
|
||||||
BaseCommand thatCommand = (BaseCommand) that;
|
return this.GetDataStructureType() == thatCommand.GetDataStructureType()
|
||||||
return this.GetDataStructureType() == thatCommand.GetDataStructureType()
|
&& this.CommandId == thatCommand.CommandId;
|
||||||
&& this.CommandId == thatCommand.CommandId;
|
}
|
||||||
}
|
return false;
|
||||||
return false;
|
}
|
||||||
}
|
|
||||||
|
public override String ToString()
|
||||||
public override String ToString()
|
{
|
||||||
{
|
string answer = GetDataStructureTypeAsString(GetDataStructureType());
|
||||||
string answer = GetDataStructureTypeAsString(GetDataStructureType());
|
if (answer.Length == 0)
|
||||||
if (answer.Length == 0)
|
{
|
||||||
{
|
answer = base.ToString();
|
||||||
answer = base.ToString();
|
}
|
||||||
}
|
return answer + ": id = " + CommandId;
|
||||||
return answer + ": id = " + CommandId;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
|
@ -1,85 +1,85 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for BrokerId
|
// Marshalling code for Open Wire Format for BrokerId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class BrokerId : AbstractCommand
|
public class BrokerId : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_BrokerId = 124;
|
public const byte ID_BrokerId = 124;
|
||||||
|
|
||||||
string value;
|
string value;
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
answer = (answer * 37) + HashCode(Value);
|
answer = (answer * 37) + HashCode(Value);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is BrokerId) {
|
if (that is BrokerId) {
|
||||||
return Equals((BrokerId) that);
|
return Equals((BrokerId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(BrokerId that) {
|
public virtual bool Equals(BrokerId that) {
|
||||||
if (! Equals(this.Value, that.Value)) return false;
|
if (! Equals(this.Value, that.Value)) return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Value=" + Value
|
+ " Value=" + Value
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_BrokerId;
|
return ID_BrokerId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string Value
|
public string Value
|
||||||
{
|
{
|
||||||
get { return value; }
|
get { return value; }
|
||||||
set { this.value = value; }
|
set { this.value = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,95 +1,95 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for BrokerInfo
|
// Marshalling code for Open Wire Format for BrokerInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class BrokerInfo : BaseCommand
|
public class BrokerInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_BrokerInfo = 2;
|
public const byte ID_BrokerInfo = 2;
|
||||||
|
|
||||||
BrokerId brokerId;
|
BrokerId brokerId;
|
||||||
string brokerURL;
|
string brokerURL;
|
||||||
BrokerInfo[] peerBrokerInfos;
|
BrokerInfo[] peerBrokerInfos;
|
||||||
string brokerName;
|
string brokerName;
|
||||||
bool slaveBroker;
|
bool slaveBroker;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " BrokerId=" + BrokerId
|
+ " BrokerId=" + BrokerId
|
||||||
+ " BrokerURL=" + BrokerURL
|
+ " BrokerURL=" + BrokerURL
|
||||||
+ " PeerBrokerInfos=" + PeerBrokerInfos
|
+ " PeerBrokerInfos=" + PeerBrokerInfos
|
||||||
+ " BrokerName=" + BrokerName
|
+ " BrokerName=" + BrokerName
|
||||||
+ " SlaveBroker=" + SlaveBroker
|
+ " SlaveBroker=" + SlaveBroker
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_BrokerInfo;
|
return ID_BrokerInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public BrokerId BrokerId
|
public BrokerId BrokerId
|
||||||
{
|
{
|
||||||
get { return brokerId; }
|
get { return brokerId; }
|
||||||
set { this.brokerId = value; }
|
set { this.brokerId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string BrokerURL
|
public string BrokerURL
|
||||||
{
|
{
|
||||||
get { return brokerURL; }
|
get { return brokerURL; }
|
||||||
set { this.brokerURL = value; }
|
set { this.brokerURL = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public BrokerInfo[] PeerBrokerInfos
|
public BrokerInfo[] PeerBrokerInfos
|
||||||
{
|
{
|
||||||
get { return peerBrokerInfos; }
|
get { return peerBrokerInfos; }
|
||||||
set { this.peerBrokerInfos = value; }
|
set { this.peerBrokerInfos = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string BrokerName
|
public string BrokerName
|
||||||
{
|
{
|
||||||
get { return brokerName; }
|
get { return brokerName; }
|
||||||
set { this.brokerName = value; }
|
set { this.brokerName = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool SlaveBroker
|
public bool SlaveBroker
|
||||||
{
|
{
|
||||||
get { return slaveBroker; }
|
get { return slaveBroker; }
|
||||||
set { this.slaveBroker = value; }
|
set { this.slaveBroker = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,71 +1,71 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ConnectionError
|
// Marshalling code for Open Wire Format for ConnectionError
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ConnectionError : BaseCommand
|
public class ConnectionError : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ConnectionError = 16;
|
public const byte ID_ConnectionError = 16;
|
||||||
|
|
||||||
BrokerError exception;
|
BrokerError exception;
|
||||||
ConnectionId connectionId;
|
ConnectionId connectionId;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Exception=" + Exception
|
+ " Exception=" + Exception
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ConnectionError;
|
return ID_ConnectionError;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public BrokerError Exception
|
public BrokerError Exception
|
||||||
{
|
{
|
||||||
get { return exception; }
|
get { return exception; }
|
||||||
set { this.exception = value; }
|
set { this.exception = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConnectionId ConnectionId
|
public ConnectionId ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,85 +1,85 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ConnectionId
|
// Marshalling code for Open Wire Format for ConnectionId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ConnectionId : AbstractCommand
|
public class ConnectionId : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ConnectionId = 120;
|
public const byte ID_ConnectionId = 120;
|
||||||
|
|
||||||
string value;
|
string value;
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
answer = (answer * 37) + HashCode(Value);
|
answer = (answer * 37) + HashCode(Value);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is ConnectionId) {
|
if (that is ConnectionId) {
|
||||||
return Equals((ConnectionId) that);
|
return Equals((ConnectionId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(ConnectionId that) {
|
public virtual bool Equals(ConnectionId that) {
|
||||||
if (! Equals(this.Value, that.Value)) return false;
|
if (! Equals(this.Value, that.Value)) return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Value=" + Value
|
+ " Value=" + Value
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ConnectionId;
|
return ID_ConnectionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string Value
|
public string Value
|
||||||
{
|
{
|
||||||
get { return value; }
|
get { return value; }
|
||||||
set { this.value = value; }
|
set { this.value = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,95 +1,95 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ConnectionInfo
|
// Marshalling code for Open Wire Format for ConnectionInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ConnectionInfo : BaseCommand
|
public class ConnectionInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ConnectionInfo = 3;
|
public const byte ID_ConnectionInfo = 3;
|
||||||
|
|
||||||
ConnectionId connectionId;
|
ConnectionId connectionId;
|
||||||
string clientId;
|
string clientId;
|
||||||
string password;
|
string password;
|
||||||
string userName;
|
string userName;
|
||||||
BrokerId[] brokerPath;
|
BrokerId[] brokerPath;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " ClientId=" + ClientId
|
+ " ClientId=" + ClientId
|
||||||
+ " Password=" + Password
|
+ " Password=" + Password
|
||||||
+ " UserName=" + UserName
|
+ " UserName=" + UserName
|
||||||
+ " BrokerPath=" + BrokerPath
|
+ " BrokerPath=" + BrokerPath
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ConnectionInfo;
|
return ID_ConnectionInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ConnectionId ConnectionId
|
public ConnectionId ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string ClientId
|
public string ClientId
|
||||||
{
|
{
|
||||||
get { return clientId; }
|
get { return clientId; }
|
||||||
set { this.clientId = value; }
|
set { this.clientId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Password
|
public string Password
|
||||||
{
|
{
|
||||||
get { return password; }
|
get { return password; }
|
||||||
set { this.password = value; }
|
set { this.password = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string UserName
|
public string UserName
|
||||||
{
|
{
|
||||||
get { return userName; }
|
get { return userName; }
|
||||||
set { this.userName = value; }
|
set { this.userName = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public BrokerId[] BrokerPath
|
public BrokerId[] BrokerPath
|
||||||
{
|
{
|
||||||
get { return brokerPath; }
|
get { return brokerPath; }
|
||||||
set { this.brokerPath = value; }
|
set { this.brokerPath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,105 +1,105 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ConsumerId
|
// Marshalling code for Open Wire Format for ConsumerId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ConsumerId : AbstractCommand
|
public class ConsumerId : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ConsumerId = 122;
|
public const byte ID_ConsumerId = 122;
|
||||||
|
|
||||||
string connectionId;
|
string connectionId;
|
||||||
long sessionId;
|
long sessionId;
|
||||||
long value;
|
long value;
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
answer = (answer * 37) + HashCode(ConnectionId);
|
answer = (answer * 37) + HashCode(ConnectionId);
|
||||||
answer = (answer * 37) + HashCode(SessionId);
|
answer = (answer * 37) + HashCode(SessionId);
|
||||||
answer = (answer * 37) + HashCode(Value);
|
answer = (answer * 37) + HashCode(Value);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is ConsumerId) {
|
if (that is ConsumerId) {
|
||||||
return Equals((ConsumerId) that);
|
return Equals((ConsumerId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(ConsumerId that) {
|
public virtual bool Equals(ConsumerId that) {
|
||||||
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
||||||
if (! Equals(this.SessionId, that.SessionId)) return false;
|
if (! Equals(this.SessionId, that.SessionId)) return false;
|
||||||
if (! Equals(this.Value, that.Value)) return false;
|
if (! Equals(this.Value, that.Value)) return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " SessionId=" + SessionId
|
+ " SessionId=" + SessionId
|
||||||
+ " Value=" + Value
|
+ " Value=" + Value
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ConsumerId;
|
return ID_ConsumerId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string ConnectionId
|
public string ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long SessionId
|
public long SessionId
|
||||||
{
|
{
|
||||||
get { return sessionId; }
|
get { return sessionId; }
|
||||||
set { this.sessionId = value; }
|
set { this.sessionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long Value
|
public long Value
|
||||||
{
|
{
|
||||||
get { return value; }
|
get { return value; }
|
||||||
set { this.value = value; }
|
set { this.value = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,167 +1,167 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ConsumerInfo
|
// Marshalling code for Open Wire Format for ConsumerInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ConsumerInfo : BaseCommand
|
public class ConsumerInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ConsumerInfo = 5;
|
public const byte ID_ConsumerInfo = 5;
|
||||||
|
|
||||||
ConsumerId consumerId;
|
ConsumerId consumerId;
|
||||||
bool browser;
|
bool browser;
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
int prefetchSize;
|
int prefetchSize;
|
||||||
int maximumPendingMessageLimit;
|
int maximumPendingMessageLimit;
|
||||||
bool dispatchAsync;
|
bool dispatchAsync;
|
||||||
string selector;
|
string selector;
|
||||||
string subcriptionName;
|
string subcriptionName;
|
||||||
bool noLocal;
|
bool noLocal;
|
||||||
bool exclusive;
|
bool exclusive;
|
||||||
bool retroactive;
|
bool retroactive;
|
||||||
byte priority;
|
byte priority;
|
||||||
BrokerId[] brokerPath;
|
BrokerId[] brokerPath;
|
||||||
bool networkSubscription;
|
bool networkSubscription;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConsumerId=" + ConsumerId
|
+ " ConsumerId=" + ConsumerId
|
||||||
+ " Browser=" + Browser
|
+ " Browser=" + Browser
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " PrefetchSize=" + PrefetchSize
|
+ " PrefetchSize=" + PrefetchSize
|
||||||
+ " MaximumPendingMessageLimit=" + MaximumPendingMessageLimit
|
+ " MaximumPendingMessageLimit=" + MaximumPendingMessageLimit
|
||||||
+ " DispatchAsync=" + DispatchAsync
|
+ " DispatchAsync=" + DispatchAsync
|
||||||
+ " Selector=" + Selector
|
+ " Selector=" + Selector
|
||||||
+ " SubcriptionName=" + SubcriptionName
|
+ " SubcriptionName=" + SubcriptionName
|
||||||
+ " NoLocal=" + NoLocal
|
+ " NoLocal=" + NoLocal
|
||||||
+ " Exclusive=" + Exclusive
|
+ " Exclusive=" + Exclusive
|
||||||
+ " Retroactive=" + Retroactive
|
+ " Retroactive=" + Retroactive
|
||||||
+ " Priority=" + Priority
|
+ " Priority=" + Priority
|
||||||
+ " BrokerPath=" + BrokerPath
|
+ " BrokerPath=" + BrokerPath
|
||||||
+ " NetworkSubscription=" + NetworkSubscription
|
+ " NetworkSubscription=" + NetworkSubscription
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ConsumerInfo;
|
return ID_ConsumerInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ConsumerId ConsumerId
|
public ConsumerId ConsumerId
|
||||||
{
|
{
|
||||||
get { return consumerId; }
|
get { return consumerId; }
|
||||||
set { this.consumerId = value; }
|
set { this.consumerId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Browser
|
public bool Browser
|
||||||
{
|
{
|
||||||
get { return browser; }
|
get { return browser; }
|
||||||
set { this.browser = value; }
|
set { this.browser = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int PrefetchSize
|
public int PrefetchSize
|
||||||
{
|
{
|
||||||
get { return prefetchSize; }
|
get { return prefetchSize; }
|
||||||
set { this.prefetchSize = value; }
|
set { this.prefetchSize = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int MaximumPendingMessageLimit
|
public int MaximumPendingMessageLimit
|
||||||
{
|
{
|
||||||
get { return maximumPendingMessageLimit; }
|
get { return maximumPendingMessageLimit; }
|
||||||
set { this.maximumPendingMessageLimit = value; }
|
set { this.maximumPendingMessageLimit = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool DispatchAsync
|
public bool DispatchAsync
|
||||||
{
|
{
|
||||||
get { return dispatchAsync; }
|
get { return dispatchAsync; }
|
||||||
set { this.dispatchAsync = value; }
|
set { this.dispatchAsync = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Selector
|
public string Selector
|
||||||
{
|
{
|
||||||
get { return selector; }
|
get { return selector; }
|
||||||
set { this.selector = value; }
|
set { this.selector = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string SubcriptionName
|
public string SubcriptionName
|
||||||
{
|
{
|
||||||
get { return subcriptionName; }
|
get { return subcriptionName; }
|
||||||
set { this.subcriptionName = value; }
|
set { this.subcriptionName = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool NoLocal
|
public bool NoLocal
|
||||||
{
|
{
|
||||||
get { return noLocal; }
|
get { return noLocal; }
|
||||||
set { this.noLocal = value; }
|
set { this.noLocal = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Exclusive
|
public bool Exclusive
|
||||||
{
|
{
|
||||||
get { return exclusive; }
|
get { return exclusive; }
|
||||||
set { this.exclusive = value; }
|
set { this.exclusive = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Retroactive
|
public bool Retroactive
|
||||||
{
|
{
|
||||||
get { return retroactive; }
|
get { return retroactive; }
|
||||||
set { this.retroactive = value; }
|
set { this.retroactive = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte Priority
|
public byte Priority
|
||||||
{
|
{
|
||||||
get { return priority; }
|
get { return priority; }
|
||||||
set { this.priority = value; }
|
set { this.priority = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public BrokerId[] BrokerPath
|
public BrokerId[] BrokerPath
|
||||||
{
|
{
|
||||||
get { return brokerPath; }
|
get { return brokerPath; }
|
||||||
set { this.brokerPath = value; }
|
set { this.brokerPath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool NetworkSubscription
|
public bool NetworkSubscription
|
||||||
{
|
{
|
||||||
get { return networkSubscription; }
|
get { return networkSubscription; }
|
||||||
set { this.networkSubscription = value; }
|
set { this.networkSubscription = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ControlCommand
|
// Marshalling code for Open Wire Format for ControlCommand
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ControlCommand : BaseCommand
|
public class ControlCommand : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ControlCommand = 14;
|
public const byte ID_ControlCommand = 14;
|
||||||
|
|
||||||
string command;
|
string command;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Command=" + Command
|
+ " Command=" + Command
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ControlCommand;
|
return ID_ControlCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string Command
|
public string Command
|
||||||
{
|
{
|
||||||
get { return command; }
|
get { return command; }
|
||||||
set { this.command = value; }
|
set { this.command = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for DataArrayResponse
|
// Marshalling code for Open Wire Format for DataArrayResponse
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class DataArrayResponse : Response
|
public class DataArrayResponse : Response
|
||||||
{
|
{
|
||||||
public const byte ID_DataArrayResponse = 33;
|
public const byte ID_DataArrayResponse = 33;
|
||||||
|
|
||||||
DataStructure[] data;
|
DataStructure[] data;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Data=" + Data
|
+ " Data=" + Data
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_DataArrayResponse;
|
return ID_DataArrayResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public DataStructure[] Data
|
public DataStructure[] Data
|
||||||
{
|
{
|
||||||
get { return data; }
|
get { return data; }
|
||||||
set { this.data = value; }
|
set { this.data = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for DataResponse
|
// Marshalling code for Open Wire Format for DataResponse
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class DataResponse : Response
|
public class DataResponse : Response
|
||||||
{
|
{
|
||||||
public const byte ID_DataResponse = 32;
|
public const byte ID_DataResponse = 32;
|
||||||
|
|
||||||
DataStructure data;
|
DataStructure data;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Data=" + Data
|
+ " Data=" + Data
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_DataResponse;
|
return ID_DataResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public DataStructure Data
|
public DataStructure Data
|
||||||
{
|
{
|
||||||
get { return data; }
|
get { return data; }
|
||||||
set { this.data = value; }
|
set { this.data = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,95 +1,95 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for DestinationInfo
|
// Marshalling code for Open Wire Format for DestinationInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class DestinationInfo : BaseCommand
|
public class DestinationInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_DestinationInfo = 8;
|
public const byte ID_DestinationInfo = 8;
|
||||||
|
|
||||||
ConnectionId connectionId;
|
ConnectionId connectionId;
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
byte operationType;
|
byte operationType;
|
||||||
long timeout;
|
long timeout;
|
||||||
BrokerId[] brokerPath;
|
BrokerId[] brokerPath;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " OperationType=" + OperationType
|
+ " OperationType=" + OperationType
|
||||||
+ " Timeout=" + Timeout
|
+ " Timeout=" + Timeout
|
||||||
+ " BrokerPath=" + BrokerPath
|
+ " BrokerPath=" + BrokerPath
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_DestinationInfo;
|
return ID_DestinationInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ConnectionId ConnectionId
|
public ConnectionId ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte OperationType
|
public byte OperationType
|
||||||
{
|
{
|
||||||
get { return operationType; }
|
get { return operationType; }
|
||||||
set { this.operationType = value; }
|
set { this.operationType = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long Timeout
|
public long Timeout
|
||||||
{
|
{
|
||||||
get { return timeout; }
|
get { return timeout; }
|
||||||
set { this.timeout = value; }
|
set { this.timeout = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public BrokerId[] BrokerPath
|
public BrokerId[] BrokerPath
|
||||||
{
|
{
|
||||||
get { return brokerPath; }
|
get { return brokerPath; }
|
||||||
set { this.brokerPath = value; }
|
set { this.brokerPath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,71 +1,71 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for DiscoveryEvent
|
// Marshalling code for Open Wire Format for DiscoveryEvent
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class DiscoveryEvent : AbstractCommand
|
public class DiscoveryEvent : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_DiscoveryEvent = 40;
|
public const byte ID_DiscoveryEvent = 40;
|
||||||
|
|
||||||
string serviceName;
|
string serviceName;
|
||||||
string brokerName;
|
string brokerName;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ServiceName=" + ServiceName
|
+ " ServiceName=" + ServiceName
|
||||||
+ " BrokerName=" + BrokerName
|
+ " BrokerName=" + BrokerName
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_DiscoveryEvent;
|
return ID_DiscoveryEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string ServiceName
|
public string ServiceName
|
||||||
{
|
{
|
||||||
get { return serviceName; }
|
get { return serviceName; }
|
||||||
set { this.serviceName = value; }
|
set { this.serviceName = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string BrokerName
|
public string BrokerName
|
||||||
{
|
{
|
||||||
get { return brokerName; }
|
get { return brokerName; }
|
||||||
set { this.brokerName = value; }
|
set { this.brokerName = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ExceptionResponse
|
// Marshalling code for Open Wire Format for ExceptionResponse
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ExceptionResponse : Response
|
public class ExceptionResponse : Response
|
||||||
{
|
{
|
||||||
public const byte ID_ExceptionResponse = 31;
|
public const byte ID_ExceptionResponse = 31;
|
||||||
|
|
||||||
BrokerError exception;
|
BrokerError exception;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Exception=" + Exception
|
+ " Exception=" + Exception
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ExceptionResponse;
|
return ID_ExceptionResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public BrokerError Exception
|
public BrokerError Exception
|
||||||
{
|
{
|
||||||
get { return exception; }
|
get { return exception; }
|
||||||
set { this.exception = value; }
|
set { this.exception = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,55 +1,55 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for FlushCommand
|
// Marshalling code for Open Wire Format for FlushCommand
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class FlushCommand : BaseCommand
|
public class FlushCommand : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_FlushCommand = 15;
|
public const byte ID_FlushCommand = 15;
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_FlushCommand;
|
return ID_FlushCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for IntegerResponse
|
// Marshalling code for Open Wire Format for IntegerResponse
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class IntegerResponse : Response
|
public class IntegerResponse : Response
|
||||||
{
|
{
|
||||||
public const byte ID_IntegerResponse = 34;
|
public const byte ID_IntegerResponse = 34;
|
||||||
|
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Result=" + Result
|
+ " Result=" + Result
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_IntegerResponse;
|
return ID_IntegerResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public int Result
|
public int Result
|
||||||
{
|
{
|
||||||
get { return result; }
|
get { return result; }
|
||||||
set { this.result = value; }
|
set { this.result = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,71 +1,71 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for JournalQueueAck
|
// Marshalling code for Open Wire Format for JournalQueueAck
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class JournalQueueAck : AbstractCommand
|
public class JournalQueueAck : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_JournalQueueAck = 52;
|
public const byte ID_JournalQueueAck = 52;
|
||||||
|
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
MessageAck messageAck;
|
MessageAck messageAck;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " MessageAck=" + MessageAck
|
+ " MessageAck=" + MessageAck
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_JournalQueueAck;
|
return ID_JournalQueueAck;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public MessageAck MessageAck
|
public MessageAck MessageAck
|
||||||
{
|
{
|
||||||
get { return messageAck; }
|
get { return messageAck; }
|
||||||
set { this.messageAck = value; }
|
set { this.messageAck = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,103 +1,103 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for JournalTopicAck
|
// Marshalling code for Open Wire Format for JournalTopicAck
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class JournalTopicAck : AbstractCommand
|
public class JournalTopicAck : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_JournalTopicAck = 50;
|
public const byte ID_JournalTopicAck = 50;
|
||||||
|
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
MessageId messageId;
|
MessageId messageId;
|
||||||
long messageSequenceId;
|
long messageSequenceId;
|
||||||
string subscritionName;
|
string subscritionName;
|
||||||
string clientId;
|
string clientId;
|
||||||
TransactionId transactionId;
|
TransactionId transactionId;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " MessageId=" + MessageId
|
+ " MessageId=" + MessageId
|
||||||
+ " MessageSequenceId=" + MessageSequenceId
|
+ " MessageSequenceId=" + MessageSequenceId
|
||||||
+ " SubscritionName=" + SubscritionName
|
+ " SubscritionName=" + SubscritionName
|
||||||
+ " ClientId=" + ClientId
|
+ " ClientId=" + ClientId
|
||||||
+ " TransactionId=" + TransactionId
|
+ " TransactionId=" + TransactionId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_JournalTopicAck;
|
return ID_JournalTopicAck;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public MessageId MessageId
|
public MessageId MessageId
|
||||||
{
|
{
|
||||||
get { return messageId; }
|
get { return messageId; }
|
||||||
set { this.messageId = value; }
|
set { this.messageId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long MessageSequenceId
|
public long MessageSequenceId
|
||||||
{
|
{
|
||||||
get { return messageSequenceId; }
|
get { return messageSequenceId; }
|
||||||
set { this.messageSequenceId = value; }
|
set { this.messageSequenceId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string SubscritionName
|
public string SubscritionName
|
||||||
{
|
{
|
||||||
get { return subscritionName; }
|
get { return subscritionName; }
|
||||||
set { this.subscritionName = value; }
|
set { this.subscritionName = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string ClientId
|
public string ClientId
|
||||||
{
|
{
|
||||||
get { return clientId; }
|
get { return clientId; }
|
||||||
set { this.clientId = value; }
|
set { this.clientId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public TransactionId TransactionId
|
public TransactionId TransactionId
|
||||||
{
|
{
|
||||||
get { return transactionId; }
|
get { return transactionId; }
|
||||||
set { this.transactionId = value; }
|
set { this.transactionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for JournalTrace
|
// Marshalling code for Open Wire Format for JournalTrace
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class JournalTrace : AbstractCommand
|
public class JournalTrace : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_JournalTrace = 53;
|
public const byte ID_JournalTrace = 53;
|
||||||
|
|
||||||
string message;
|
string message;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Message=" + Message
|
+ " Message=" + Message
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_JournalTrace;
|
return ID_JournalTrace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string Message
|
public string Message
|
||||||
{
|
{
|
||||||
get { return message; }
|
get { return message; }
|
||||||
set { this.message = value; }
|
set { this.message = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,79 +1,79 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for JournalTransaction
|
// Marshalling code for Open Wire Format for JournalTransaction
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class JournalTransaction : AbstractCommand
|
public class JournalTransaction : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_JournalTransaction = 54;
|
public const byte ID_JournalTransaction = 54;
|
||||||
|
|
||||||
TransactionId transactionId;
|
TransactionId transactionId;
|
||||||
byte type;
|
byte type;
|
||||||
bool wasPrepared;
|
bool wasPrepared;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " TransactionId=" + TransactionId
|
+ " TransactionId=" + TransactionId
|
||||||
+ " Type=" + Type
|
+ " Type=" + Type
|
||||||
+ " WasPrepared=" + WasPrepared
|
+ " WasPrepared=" + WasPrepared
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_JournalTransaction;
|
return ID_JournalTransaction;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public TransactionId TransactionId
|
public TransactionId TransactionId
|
||||||
{
|
{
|
||||||
get { return transactionId; }
|
get { return transactionId; }
|
||||||
set { this.transactionId = value; }
|
set { this.transactionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte Type
|
public byte Type
|
||||||
{
|
{
|
||||||
get { return type; }
|
get { return type; }
|
||||||
set { this.type = value; }
|
set { this.type = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool WasPrepared
|
public bool WasPrepared
|
||||||
{
|
{
|
||||||
get { return wasPrepared; }
|
get { return wasPrepared; }
|
||||||
set { this.wasPrepared = value; }
|
set { this.wasPrepared = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,55 +1,55 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for KeepAliveInfo
|
// Marshalling code for Open Wire Format for KeepAliveInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class KeepAliveInfo : AbstractCommand
|
public class KeepAliveInfo : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_KeepAliveInfo = 10;
|
public const byte ID_KeepAliveInfo = 10;
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_KeepAliveInfo;
|
return ID_KeepAliveInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,95 +1,95 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for LocalTransactionId
|
// Marshalling code for Open Wire Format for LocalTransactionId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class LocalTransactionId : TransactionId
|
public class LocalTransactionId : TransactionId
|
||||||
{
|
{
|
||||||
public const byte ID_LocalTransactionId = 111;
|
public const byte ID_LocalTransactionId = 111;
|
||||||
|
|
||||||
long value;
|
long value;
|
||||||
ConnectionId connectionId;
|
ConnectionId connectionId;
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
answer = (answer * 37) + HashCode(Value);
|
answer = (answer * 37) + HashCode(Value);
|
||||||
answer = (answer * 37) + HashCode(ConnectionId);
|
answer = (answer * 37) + HashCode(ConnectionId);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is LocalTransactionId) {
|
if (that is LocalTransactionId) {
|
||||||
return Equals((LocalTransactionId) that);
|
return Equals((LocalTransactionId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(LocalTransactionId that) {
|
public virtual bool Equals(LocalTransactionId that) {
|
||||||
if (! Equals(this.Value, that.Value)) return false;
|
if (! Equals(this.Value, that.Value)) return false;
|
||||||
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Value=" + Value
|
+ " Value=" + Value
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_LocalTransactionId;
|
return ID_LocalTransactionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public long Value
|
public long Value
|
||||||
{
|
{
|
||||||
get { return value; }
|
get { return value; }
|
||||||
set { this.value = value; }
|
set { this.value = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConnectionId ConnectionId
|
public ConnectionId ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,255 +1,255 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for Message
|
// Marshalling code for Open Wire Format for Message
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class Message : BaseCommand
|
public class Message : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_Message = 0;
|
public const byte ID_Message = 0;
|
||||||
|
|
||||||
ProducerId producerId;
|
ProducerId producerId;
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
TransactionId transactionId;
|
TransactionId transactionId;
|
||||||
ActiveMQDestination originalDestination;
|
ActiveMQDestination originalDestination;
|
||||||
MessageId messageId;
|
MessageId messageId;
|
||||||
TransactionId originalTransactionId;
|
TransactionId originalTransactionId;
|
||||||
string groupID;
|
string groupID;
|
||||||
int groupSequence;
|
int groupSequence;
|
||||||
string correlationId;
|
string correlationId;
|
||||||
bool persistent;
|
bool persistent;
|
||||||
long expiration;
|
long expiration;
|
||||||
byte priority;
|
byte priority;
|
||||||
ActiveMQDestination replyTo;
|
ActiveMQDestination replyTo;
|
||||||
long timestamp;
|
long timestamp;
|
||||||
string type;
|
string type;
|
||||||
byte[] content;
|
byte[] content;
|
||||||
byte[] marshalledProperties;
|
byte[] marshalledProperties;
|
||||||
DataStructure dataStructure;
|
DataStructure dataStructure;
|
||||||
ConsumerId targetConsumerId;
|
ConsumerId targetConsumerId;
|
||||||
bool compressed;
|
bool compressed;
|
||||||
int redeliveryCounter;
|
int redeliveryCounter;
|
||||||
BrokerId[] brokerPath;
|
BrokerId[] brokerPath;
|
||||||
long arrival;
|
long arrival;
|
||||||
string userID;
|
string userID;
|
||||||
bool recievedByDFBridge;
|
bool recievedByDFBridge;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ProducerId=" + ProducerId
|
+ " ProducerId=" + ProducerId
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " TransactionId=" + TransactionId
|
+ " TransactionId=" + TransactionId
|
||||||
+ " OriginalDestination=" + OriginalDestination
|
+ " OriginalDestination=" + OriginalDestination
|
||||||
+ " MessageId=" + MessageId
|
+ " MessageId=" + MessageId
|
||||||
+ " OriginalTransactionId=" + OriginalTransactionId
|
+ " OriginalTransactionId=" + OriginalTransactionId
|
||||||
+ " GroupID=" + GroupID
|
+ " GroupID=" + GroupID
|
||||||
+ " GroupSequence=" + GroupSequence
|
+ " GroupSequence=" + GroupSequence
|
||||||
+ " CorrelationId=" + CorrelationId
|
+ " CorrelationId=" + CorrelationId
|
||||||
+ " Persistent=" + Persistent
|
+ " Persistent=" + Persistent
|
||||||
+ " Expiration=" + Expiration
|
+ " Expiration=" + Expiration
|
||||||
+ " Priority=" + Priority
|
+ " Priority=" + Priority
|
||||||
+ " ReplyTo=" + ReplyTo
|
+ " ReplyTo=" + ReplyTo
|
||||||
+ " Timestamp=" + Timestamp
|
+ " Timestamp=" + Timestamp
|
||||||
+ " Type=" + Type
|
+ " Type=" + Type
|
||||||
+ " Content=" + Content
|
+ " Content=" + Content
|
||||||
+ " MarshalledProperties=" + MarshalledProperties
|
+ " MarshalledProperties=" + MarshalledProperties
|
||||||
+ " DataStructure=" + DataStructure
|
+ " DataStructure=" + DataStructure
|
||||||
+ " TargetConsumerId=" + TargetConsumerId
|
+ " TargetConsumerId=" + TargetConsumerId
|
||||||
+ " Compressed=" + Compressed
|
+ " Compressed=" + Compressed
|
||||||
+ " RedeliveryCounter=" + RedeliveryCounter
|
+ " RedeliveryCounter=" + RedeliveryCounter
|
||||||
+ " BrokerPath=" + BrokerPath
|
+ " BrokerPath=" + BrokerPath
|
||||||
+ " Arrival=" + Arrival
|
+ " Arrival=" + Arrival
|
||||||
+ " UserID=" + UserID
|
+ " UserID=" + UserID
|
||||||
+ " RecievedByDFBridge=" + RecievedByDFBridge
|
+ " RecievedByDFBridge=" + RecievedByDFBridge
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_Message;
|
return ID_Message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ProducerId ProducerId
|
public ProducerId ProducerId
|
||||||
{
|
{
|
||||||
get { return producerId; }
|
get { return producerId; }
|
||||||
set { this.producerId = value; }
|
set { this.producerId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public TransactionId TransactionId
|
public TransactionId TransactionId
|
||||||
{
|
{
|
||||||
get { return transactionId; }
|
get { return transactionId; }
|
||||||
set { this.transactionId = value; }
|
set { this.transactionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActiveMQDestination OriginalDestination
|
public ActiveMQDestination OriginalDestination
|
||||||
{
|
{
|
||||||
get { return originalDestination; }
|
get { return originalDestination; }
|
||||||
set { this.originalDestination = value; }
|
set { this.originalDestination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public MessageId MessageId
|
public MessageId MessageId
|
||||||
{
|
{
|
||||||
get { return messageId; }
|
get { return messageId; }
|
||||||
set { this.messageId = value; }
|
set { this.messageId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public TransactionId OriginalTransactionId
|
public TransactionId OriginalTransactionId
|
||||||
{
|
{
|
||||||
get { return originalTransactionId; }
|
get { return originalTransactionId; }
|
||||||
set { this.originalTransactionId = value; }
|
set { this.originalTransactionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string GroupID
|
public string GroupID
|
||||||
{
|
{
|
||||||
get { return groupID; }
|
get { return groupID; }
|
||||||
set { this.groupID = value; }
|
set { this.groupID = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int GroupSequence
|
public int GroupSequence
|
||||||
{
|
{
|
||||||
get { return groupSequence; }
|
get { return groupSequence; }
|
||||||
set { this.groupSequence = value; }
|
set { this.groupSequence = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string CorrelationId
|
public string CorrelationId
|
||||||
{
|
{
|
||||||
get { return correlationId; }
|
get { return correlationId; }
|
||||||
set { this.correlationId = value; }
|
set { this.correlationId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Persistent
|
public bool Persistent
|
||||||
{
|
{
|
||||||
get { return persistent; }
|
get { return persistent; }
|
||||||
set { this.persistent = value; }
|
set { this.persistent = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long Expiration
|
public long Expiration
|
||||||
{
|
{
|
||||||
get { return expiration; }
|
get { return expiration; }
|
||||||
set { this.expiration = value; }
|
set { this.expiration = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte Priority
|
public byte Priority
|
||||||
{
|
{
|
||||||
get { return priority; }
|
get { return priority; }
|
||||||
set { this.priority = value; }
|
set { this.priority = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActiveMQDestination ReplyTo
|
public ActiveMQDestination ReplyTo
|
||||||
{
|
{
|
||||||
get { return replyTo; }
|
get { return replyTo; }
|
||||||
set { this.replyTo = value; }
|
set { this.replyTo = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long Timestamp
|
public long Timestamp
|
||||||
{
|
{
|
||||||
get { return timestamp; }
|
get { return timestamp; }
|
||||||
set { this.timestamp = value; }
|
set { this.timestamp = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Type
|
public string Type
|
||||||
{
|
{
|
||||||
get { return type; }
|
get { return type; }
|
||||||
set { this.type = value; }
|
set { this.type = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte[] Content
|
public byte[] Content
|
||||||
{
|
{
|
||||||
get { return content; }
|
get { return content; }
|
||||||
set { this.content = value; }
|
set { this.content = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte[] MarshalledProperties
|
public byte[] MarshalledProperties
|
||||||
{
|
{
|
||||||
get { return marshalledProperties; }
|
get { return marshalledProperties; }
|
||||||
set { this.marshalledProperties = value; }
|
set { this.marshalledProperties = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public DataStructure DataStructure
|
public DataStructure DataStructure
|
||||||
{
|
{
|
||||||
get { return dataStructure; }
|
get { return dataStructure; }
|
||||||
set { this.dataStructure = value; }
|
set { this.dataStructure = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConsumerId TargetConsumerId
|
public ConsumerId TargetConsumerId
|
||||||
{
|
{
|
||||||
get { return targetConsumerId; }
|
get { return targetConsumerId; }
|
||||||
set { this.targetConsumerId = value; }
|
set { this.targetConsumerId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool Compressed
|
public bool Compressed
|
||||||
{
|
{
|
||||||
get { return compressed; }
|
get { return compressed; }
|
||||||
set { this.compressed = value; }
|
set { this.compressed = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int RedeliveryCounter
|
public int RedeliveryCounter
|
||||||
{
|
{
|
||||||
get { return redeliveryCounter; }
|
get { return redeliveryCounter; }
|
||||||
set { this.redeliveryCounter = value; }
|
set { this.redeliveryCounter = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public BrokerId[] BrokerPath
|
public BrokerId[] BrokerPath
|
||||||
{
|
{
|
||||||
get { return brokerPath; }
|
get { return brokerPath; }
|
||||||
set { this.brokerPath = value; }
|
set { this.brokerPath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long Arrival
|
public long Arrival
|
||||||
{
|
{
|
||||||
get { return arrival; }
|
get { return arrival; }
|
||||||
set { this.arrival = value; }
|
set { this.arrival = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string UserID
|
public string UserID
|
||||||
{
|
{
|
||||||
get { return userID; }
|
get { return userID; }
|
||||||
set { this.userID = value; }
|
set { this.userID = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool RecievedByDFBridge
|
public bool RecievedByDFBridge
|
||||||
{
|
{
|
||||||
get { return recievedByDFBridge; }
|
get { return recievedByDFBridge; }
|
||||||
set { this.recievedByDFBridge = value; }
|
set { this.recievedByDFBridge = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,111 +1,111 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for MessageAck
|
// Marshalling code for Open Wire Format for MessageAck
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class MessageAck : BaseCommand
|
public class MessageAck : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_MessageAck = 22;
|
public const byte ID_MessageAck = 22;
|
||||||
|
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
TransactionId transactionId;
|
TransactionId transactionId;
|
||||||
ConsumerId consumerId;
|
ConsumerId consumerId;
|
||||||
byte ackType;
|
byte ackType;
|
||||||
MessageId firstMessageId;
|
MessageId firstMessageId;
|
||||||
MessageId lastMessageId;
|
MessageId lastMessageId;
|
||||||
int messageCount;
|
int messageCount;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " TransactionId=" + TransactionId
|
+ " TransactionId=" + TransactionId
|
||||||
+ " ConsumerId=" + ConsumerId
|
+ " ConsumerId=" + ConsumerId
|
||||||
+ " AckType=" + AckType
|
+ " AckType=" + AckType
|
||||||
+ " FirstMessageId=" + FirstMessageId
|
+ " FirstMessageId=" + FirstMessageId
|
||||||
+ " LastMessageId=" + LastMessageId
|
+ " LastMessageId=" + LastMessageId
|
||||||
+ " MessageCount=" + MessageCount
|
+ " MessageCount=" + MessageCount
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_MessageAck;
|
return ID_MessageAck;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public TransactionId TransactionId
|
public TransactionId TransactionId
|
||||||
{
|
{
|
||||||
get { return transactionId; }
|
get { return transactionId; }
|
||||||
set { this.transactionId = value; }
|
set { this.transactionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ConsumerId ConsumerId
|
public ConsumerId ConsumerId
|
||||||
{
|
{
|
||||||
get { return consumerId; }
|
get { return consumerId; }
|
||||||
set { this.consumerId = value; }
|
set { this.consumerId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte AckType
|
public byte AckType
|
||||||
{
|
{
|
||||||
get { return ackType; }
|
get { return ackType; }
|
||||||
set { this.ackType = value; }
|
set { this.ackType = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public MessageId FirstMessageId
|
public MessageId FirstMessageId
|
||||||
{
|
{
|
||||||
get { return firstMessageId; }
|
get { return firstMessageId; }
|
||||||
set { this.firstMessageId = value; }
|
set { this.firstMessageId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public MessageId LastMessageId
|
public MessageId LastMessageId
|
||||||
{
|
{
|
||||||
get { return lastMessageId; }
|
get { return lastMessageId; }
|
||||||
set { this.lastMessageId = value; }
|
set { this.lastMessageId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int MessageCount
|
public int MessageCount
|
||||||
{
|
{
|
||||||
get { return messageCount; }
|
get { return messageCount; }
|
||||||
set { this.messageCount = value; }
|
set { this.messageCount = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,87 +1,87 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for MessageDispatch
|
// Marshalling code for Open Wire Format for MessageDispatch
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class MessageDispatch : BaseCommand
|
public class MessageDispatch : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_MessageDispatch = 21;
|
public const byte ID_MessageDispatch = 21;
|
||||||
|
|
||||||
ConsumerId consumerId;
|
ConsumerId consumerId;
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
Message message;
|
Message message;
|
||||||
int redeliveryCounter;
|
int redeliveryCounter;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConsumerId=" + ConsumerId
|
+ " ConsumerId=" + ConsumerId
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " Message=" + Message
|
+ " Message=" + Message
|
||||||
+ " RedeliveryCounter=" + RedeliveryCounter
|
+ " RedeliveryCounter=" + RedeliveryCounter
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_MessageDispatch;
|
return ID_MessageDispatch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ConsumerId ConsumerId
|
public ConsumerId ConsumerId
|
||||||
{
|
{
|
||||||
get { return consumerId; }
|
get { return consumerId; }
|
||||||
set { this.consumerId = value; }
|
set { this.consumerId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public Message Message
|
public Message Message
|
||||||
{
|
{
|
||||||
get { return message; }
|
get { return message; }
|
||||||
set { this.message = value; }
|
set { this.message = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int RedeliveryCounter
|
public int RedeliveryCounter
|
||||||
{
|
{
|
||||||
get { return redeliveryCounter; }
|
get { return redeliveryCounter; }
|
||||||
set { this.redeliveryCounter = value; }
|
set { this.redeliveryCounter = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -19,9 +19,9 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for MessageDispatchNotification
|
// Marshalling code for Open Wire Format for MessageDispatchNotification
|
|
@ -1,105 +1,105 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for MessageId
|
// Marshalling code for Open Wire Format for MessageId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class MessageId : AbstractCommand
|
public class MessageId : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_MessageId = 110;
|
public const byte ID_MessageId = 110;
|
||||||
|
|
||||||
ProducerId producerId;
|
ProducerId producerId;
|
||||||
long producerSequenceId;
|
long producerSequenceId;
|
||||||
long brokerSequenceId;
|
long brokerSequenceId;
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
answer = (answer * 37) + HashCode(ProducerId);
|
answer = (answer * 37) + HashCode(ProducerId);
|
||||||
answer = (answer * 37) + HashCode(ProducerSequenceId);
|
answer = (answer * 37) + HashCode(ProducerSequenceId);
|
||||||
answer = (answer * 37) + HashCode(BrokerSequenceId);
|
answer = (answer * 37) + HashCode(BrokerSequenceId);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is MessageId) {
|
if (that is MessageId) {
|
||||||
return Equals((MessageId) that);
|
return Equals((MessageId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(MessageId that) {
|
public virtual bool Equals(MessageId that) {
|
||||||
if (! Equals(this.ProducerId, that.ProducerId)) return false;
|
if (! Equals(this.ProducerId, that.ProducerId)) return false;
|
||||||
if (! Equals(this.ProducerSequenceId, that.ProducerSequenceId)) return false;
|
if (! Equals(this.ProducerSequenceId, that.ProducerSequenceId)) return false;
|
||||||
if (! Equals(this.BrokerSequenceId, that.BrokerSequenceId)) return false;
|
if (! Equals(this.BrokerSequenceId, that.BrokerSequenceId)) return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ProducerId=" + ProducerId
|
+ " ProducerId=" + ProducerId
|
||||||
+ " ProducerSequenceId=" + ProducerSequenceId
|
+ " ProducerSequenceId=" + ProducerSequenceId
|
||||||
+ " BrokerSequenceId=" + BrokerSequenceId
|
+ " BrokerSequenceId=" + BrokerSequenceId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_MessageId;
|
return ID_MessageId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ProducerId ProducerId
|
public ProducerId ProducerId
|
||||||
{
|
{
|
||||||
get { return producerId; }
|
get { return producerId; }
|
||||||
set { this.producerId = value; }
|
set { this.producerId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long ProducerSequenceId
|
public long ProducerSequenceId
|
||||||
{
|
{
|
||||||
get { return producerSequenceId; }
|
get { return producerSequenceId; }
|
||||||
set { this.producerSequenceId = value; }
|
set { this.producerSequenceId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long BrokerSequenceId
|
public long BrokerSequenceId
|
||||||
{
|
{
|
||||||
get { return brokerSequenceId; }
|
get { return brokerSequenceId; }
|
||||||
set { this.brokerSequenceId = value; }
|
set { this.brokerSequenceId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,105 +1,105 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ProducerId
|
// Marshalling code for Open Wire Format for ProducerId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ProducerId : AbstractCommand
|
public class ProducerId : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ProducerId = 123;
|
public const byte ID_ProducerId = 123;
|
||||||
|
|
||||||
string connectionId;
|
string connectionId;
|
||||||
long value;
|
long value;
|
||||||
long sessionId;
|
long sessionId;
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
answer = (answer * 37) + HashCode(ConnectionId);
|
answer = (answer * 37) + HashCode(ConnectionId);
|
||||||
answer = (answer * 37) + HashCode(Value);
|
answer = (answer * 37) + HashCode(Value);
|
||||||
answer = (answer * 37) + HashCode(SessionId);
|
answer = (answer * 37) + HashCode(SessionId);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is ProducerId) {
|
if (that is ProducerId) {
|
||||||
return Equals((ProducerId) that);
|
return Equals((ProducerId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(ProducerId that) {
|
public virtual bool Equals(ProducerId that) {
|
||||||
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
||||||
if (! Equals(this.Value, that.Value)) return false;
|
if (! Equals(this.Value, that.Value)) return false;
|
||||||
if (! Equals(this.SessionId, that.SessionId)) return false;
|
if (! Equals(this.SessionId, that.SessionId)) return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " Value=" + Value
|
+ " Value=" + Value
|
||||||
+ " SessionId=" + SessionId
|
+ " SessionId=" + SessionId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ProducerId;
|
return ID_ProducerId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string ConnectionId
|
public string ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long Value
|
public long Value
|
||||||
{
|
{
|
||||||
get { return value; }
|
get { return value; }
|
||||||
set { this.value = value; }
|
set { this.value = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long SessionId
|
public long SessionId
|
||||||
{
|
{
|
||||||
get { return sessionId; }
|
get { return sessionId; }
|
||||||
set { this.sessionId = value; }
|
set { this.sessionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,79 +1,79 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ProducerInfo
|
// Marshalling code for Open Wire Format for ProducerInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ProducerInfo : BaseCommand
|
public class ProducerInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ProducerInfo = 6;
|
public const byte ID_ProducerInfo = 6;
|
||||||
|
|
||||||
ProducerId producerId;
|
ProducerId producerId;
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
BrokerId[] brokerPath;
|
BrokerId[] brokerPath;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ProducerId=" + ProducerId
|
+ " ProducerId=" + ProducerId
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " BrokerPath=" + BrokerPath
|
+ " BrokerPath=" + BrokerPath
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ProducerInfo;
|
return ID_ProducerInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ProducerId ProducerId
|
public ProducerId ProducerId
|
||||||
{
|
{
|
||||||
get { return producerId; }
|
get { return producerId; }
|
||||||
set { this.producerId = value; }
|
set { this.producerId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public BrokerId[] BrokerPath
|
public BrokerId[] BrokerPath
|
||||||
{
|
{
|
||||||
get { return brokerPath; }
|
get { return brokerPath; }
|
||||||
set { this.brokerPath = value; }
|
set { this.brokerPath = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for RemoveInfo
|
// Marshalling code for Open Wire Format for RemoveInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class RemoveInfo : BaseCommand
|
public class RemoveInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_RemoveInfo = 12;
|
public const byte ID_RemoveInfo = 12;
|
||||||
|
|
||||||
DataStructure objectId;
|
DataStructure objectId;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ObjectId=" + ObjectId
|
+ " ObjectId=" + ObjectId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_RemoveInfo;
|
return ID_RemoveInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public DataStructure ObjectId
|
public DataStructure ObjectId
|
||||||
{
|
{
|
||||||
get { return objectId; }
|
get { return objectId; }
|
||||||
set { this.objectId = value; }
|
set { this.objectId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,79 +1,79 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for RemoveSubscriptionInfo
|
// Marshalling code for Open Wire Format for RemoveSubscriptionInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class RemoveSubscriptionInfo : BaseCommand
|
public class RemoveSubscriptionInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_RemoveSubscriptionInfo = 0;
|
public const byte ID_RemoveSubscriptionInfo = 0;
|
||||||
|
|
||||||
ConnectionId connectionId;
|
ConnectionId connectionId;
|
||||||
string subcriptionName;
|
string subcriptionName;
|
||||||
string clientId;
|
string clientId;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " SubcriptionName=" + SubcriptionName
|
+ " SubcriptionName=" + SubcriptionName
|
||||||
+ " ClientId=" + ClientId
|
+ " ClientId=" + ClientId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_RemoveSubscriptionInfo;
|
return ID_RemoveSubscriptionInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ConnectionId ConnectionId
|
public ConnectionId ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string SubcriptionName
|
public string SubcriptionName
|
||||||
{
|
{
|
||||||
get { return subcriptionName; }
|
get { return subcriptionName; }
|
||||||
set { this.subcriptionName = value; }
|
set { this.subcriptionName = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string ClientId
|
public string ClientId
|
||||||
{
|
{
|
||||||
get { return clientId; }
|
get { return clientId; }
|
||||||
set { this.clientId = value; }
|
set { this.clientId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for Response
|
// Marshalling code for Open Wire Format for Response
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class Response : BaseCommand
|
public class Response : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_Response = 30;
|
public const byte ID_Response = 30;
|
||||||
|
|
||||||
short correlationId;
|
short correlationId;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " CorrelationId=" + CorrelationId
|
+ " CorrelationId=" + CorrelationId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_Response;
|
return ID_Response;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public short CorrelationId
|
public short CorrelationId
|
||||||
{
|
{
|
||||||
get { return correlationId; }
|
get { return correlationId; }
|
||||||
set { this.correlationId = value; }
|
set { this.correlationId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,95 +1,95 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for SessionId
|
// Marshalling code for Open Wire Format for SessionId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class SessionId : AbstractCommand
|
public class SessionId : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_SessionId = 121;
|
public const byte ID_SessionId = 121;
|
||||||
|
|
||||||
string connectionId;
|
string connectionId;
|
||||||
long value;
|
long value;
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
answer = (answer * 37) + HashCode(ConnectionId);
|
answer = (answer * 37) + HashCode(ConnectionId);
|
||||||
answer = (answer * 37) + HashCode(Value);
|
answer = (answer * 37) + HashCode(Value);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is SessionId) {
|
if (that is SessionId) {
|
||||||
return Equals((SessionId) that);
|
return Equals((SessionId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(SessionId that) {
|
public virtual bool Equals(SessionId that) {
|
||||||
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
if (! Equals(this.ConnectionId, that.ConnectionId)) return false;
|
||||||
if (! Equals(this.Value, that.Value)) return false;
|
if (! Equals(this.Value, that.Value)) return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " Value=" + Value
|
+ " Value=" + Value
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_SessionId;
|
return ID_SessionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string ConnectionId
|
public string ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public long Value
|
public long Value
|
||||||
{
|
{
|
||||||
get { return value; }
|
get { return value; }
|
||||||
set { this.value = value; }
|
set { this.value = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,63 +1,63 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for SessionInfo
|
// Marshalling code for Open Wire Format for SessionInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class SessionInfo : BaseCommand
|
public class SessionInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_SessionInfo = 4;
|
public const byte ID_SessionInfo = 4;
|
||||||
|
|
||||||
SessionId sessionId;
|
SessionId sessionId;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " SessionId=" + SessionId
|
+ " SessionId=" + SessionId
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_SessionInfo;
|
return ID_SessionInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public SessionId SessionId
|
public SessionId SessionId
|
||||||
{
|
{
|
||||||
get { return sessionId; }
|
get { return sessionId; }
|
||||||
set { this.sessionId = value; }
|
set { this.sessionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,55 +1,55 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for ShutdownInfo
|
// Marshalling code for Open Wire Format for ShutdownInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class ShutdownInfo : BaseCommand
|
public class ShutdownInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_ShutdownInfo = 11;
|
public const byte ID_ShutdownInfo = 11;
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_ShutdownInfo;
|
return ID_ShutdownInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,87 +1,87 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for SubscriptionInfo
|
// Marshalling code for Open Wire Format for SubscriptionInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class SubscriptionInfo : AbstractCommand
|
public class SubscriptionInfo : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_SubscriptionInfo = 55;
|
public const byte ID_SubscriptionInfo = 55;
|
||||||
|
|
||||||
string clientId;
|
string clientId;
|
||||||
ActiveMQDestination destination;
|
ActiveMQDestination destination;
|
||||||
string selector;
|
string selector;
|
||||||
string subcriptionName;
|
string subcriptionName;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ClientId=" + ClientId
|
+ " ClientId=" + ClientId
|
||||||
+ " Destination=" + Destination
|
+ " Destination=" + Destination
|
||||||
+ " Selector=" + Selector
|
+ " Selector=" + Selector
|
||||||
+ " SubcriptionName=" + SubcriptionName
|
+ " SubcriptionName=" + SubcriptionName
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_SubscriptionInfo;
|
return ID_SubscriptionInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public string ClientId
|
public string ClientId
|
||||||
{
|
{
|
||||||
get { return clientId; }
|
get { return clientId; }
|
||||||
set { this.clientId = value; }
|
set { this.clientId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ActiveMQDestination Destination
|
public ActiveMQDestination Destination
|
||||||
{
|
{
|
||||||
get { return destination; }
|
get { return destination; }
|
||||||
set { this.destination = value; }
|
set { this.destination = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Selector
|
public string Selector
|
||||||
{
|
{
|
||||||
get { return selector; }
|
get { return selector; }
|
||||||
set { this.selector = value; }
|
set { this.selector = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string SubcriptionName
|
public string SubcriptionName
|
||||||
{
|
{
|
||||||
get { return subcriptionName; }
|
get { return subcriptionName; }
|
||||||
set { this.subcriptionName = value; }
|
set { this.subcriptionName = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,75 +1,75 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for TransactionId
|
// Marshalling code for Open Wire Format for TransactionId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class TransactionId : AbstractCommand
|
public class TransactionId : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_TransactionId = 0;
|
public const byte ID_TransactionId = 0;
|
||||||
|
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is TransactionId) {
|
if (that is TransactionId) {
|
||||||
return Equals((TransactionId) that);
|
return Equals((TransactionId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(TransactionId that) {
|
public virtual bool Equals(TransactionId that) {
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_TransactionId;
|
return ID_TransactionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,79 +1,79 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for TransactionInfo
|
// Marshalling code for Open Wire Format for TransactionInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class TransactionInfo : BaseCommand
|
public class TransactionInfo : BaseCommand
|
||||||
{
|
{
|
||||||
public const byte ID_TransactionInfo = 7;
|
public const byte ID_TransactionInfo = 7;
|
||||||
|
|
||||||
ConnectionId connectionId;
|
ConnectionId connectionId;
|
||||||
TransactionId transactionId;
|
TransactionId transactionId;
|
||||||
byte type;
|
byte type;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " ConnectionId=" + ConnectionId
|
+ " ConnectionId=" + ConnectionId
|
||||||
+ " TransactionId=" + TransactionId
|
+ " TransactionId=" + TransactionId
|
||||||
+ " Type=" + Type
|
+ " Type=" + Type
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_TransactionInfo;
|
return ID_TransactionInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public ConnectionId ConnectionId
|
public ConnectionId ConnectionId
|
||||||
{
|
{
|
||||||
get { return connectionId; }
|
get { return connectionId; }
|
||||||
set { this.connectionId = value; }
|
set { this.connectionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public TransactionId TransactionId
|
public TransactionId TransactionId
|
||||||
{
|
{
|
||||||
get { return transactionId; }
|
get { return transactionId; }
|
||||||
set { this.transactionId = value; }
|
set { this.transactionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte Type
|
public byte Type
|
||||||
{
|
{
|
||||||
get { return type; }
|
get { return type; }
|
||||||
set { this.type = value; }
|
set { this.type = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,111 +1,111 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for WireFormatInfo
|
// Marshalling code for Open Wire Format for WireFormatInfo
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class WireFormatInfo : AbstractCommand
|
public class WireFormatInfo : AbstractCommand
|
||||||
{
|
{
|
||||||
public const byte ID_WireFormatInfo = 1;
|
public const byte ID_WireFormatInfo = 1;
|
||||||
|
|
||||||
byte[] magic;
|
byte[] magic;
|
||||||
int version;
|
int version;
|
||||||
bool cacheEnabled;
|
bool cacheEnabled;
|
||||||
bool stackTraceEnabled;
|
bool stackTraceEnabled;
|
||||||
bool tcpNoDelayEnabled;
|
bool tcpNoDelayEnabled;
|
||||||
bool prefixPacketSize;
|
bool prefixPacketSize;
|
||||||
bool tightEncodingEnabled;
|
bool tightEncodingEnabled;
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " Magic=" + Magic
|
+ " Magic=" + Magic
|
||||||
+ " Version=" + Version
|
+ " Version=" + Version
|
||||||
+ " CacheEnabled=" + CacheEnabled
|
+ " CacheEnabled=" + CacheEnabled
|
||||||
+ " StackTraceEnabled=" + StackTraceEnabled
|
+ " StackTraceEnabled=" + StackTraceEnabled
|
||||||
+ " TcpNoDelayEnabled=" + TcpNoDelayEnabled
|
+ " TcpNoDelayEnabled=" + TcpNoDelayEnabled
|
||||||
+ " PrefixPacketSize=" + PrefixPacketSize
|
+ " PrefixPacketSize=" + PrefixPacketSize
|
||||||
+ " TightEncodingEnabled=" + TightEncodingEnabled
|
+ " TightEncodingEnabled=" + TightEncodingEnabled
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_WireFormatInfo;
|
return ID_WireFormatInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public byte[] Magic
|
public byte[] Magic
|
||||||
{
|
{
|
||||||
get { return magic; }
|
get { return magic; }
|
||||||
set { this.magic = value; }
|
set { this.magic = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int Version
|
public int Version
|
||||||
{
|
{
|
||||||
get { return version; }
|
get { return version; }
|
||||||
set { this.version = value; }
|
set { this.version = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool CacheEnabled
|
public bool CacheEnabled
|
||||||
{
|
{
|
||||||
get { return cacheEnabled; }
|
get { return cacheEnabled; }
|
||||||
set { this.cacheEnabled = value; }
|
set { this.cacheEnabled = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool StackTraceEnabled
|
public bool StackTraceEnabled
|
||||||
{
|
{
|
||||||
get { return stackTraceEnabled; }
|
get { return stackTraceEnabled; }
|
||||||
set { this.stackTraceEnabled = value; }
|
set { this.stackTraceEnabled = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool TcpNoDelayEnabled
|
public bool TcpNoDelayEnabled
|
||||||
{
|
{
|
||||||
get { return tcpNoDelayEnabled; }
|
get { return tcpNoDelayEnabled; }
|
||||||
set { this.tcpNoDelayEnabled = value; }
|
set { this.tcpNoDelayEnabled = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool PrefixPacketSize
|
public bool PrefixPacketSize
|
||||||
{
|
{
|
||||||
get { return prefixPacketSize; }
|
get { return prefixPacketSize; }
|
||||||
set { this.prefixPacketSize = value; }
|
set { this.prefixPacketSize = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool TightEncodingEnabled
|
public bool TightEncodingEnabled
|
||||||
{
|
{
|
||||||
get { return tightEncodingEnabled; }
|
get { return tightEncodingEnabled; }
|
||||||
set { this.tightEncodingEnabled = value; }
|
set { this.tightEncodingEnabled = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,105 +1,105 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
* Copyright 2006 The Apache Software Foundation or its licensors, as
|
||||||
* applicable.
|
* applicable.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
* You may obtain a copy of the License at
|
||||||
*
|
*
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using ActiveMQ.Commands;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.Commands
|
namespace ActiveMQ.Commands
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
// Marshalling code for Open Wire Format for XATransactionId
|
// Marshalling code for Open Wire Format for XATransactionId
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// NOTE!: This file is autogenerated - do not modify!
|
// NOTE!: This file is autogenerated - do not modify!
|
||||||
// if you need to make a change, please see the Groovy scripts in the
|
// if you need to make a change, please see the Groovy scripts in the
|
||||||
// activemq-core module
|
// activemq-core module
|
||||||
//
|
//
|
||||||
public class XATransactionId : TransactionId
|
public class XATransactionId : TransactionId
|
||||||
{
|
{
|
||||||
public const byte ID_XATransactionId = 112;
|
public const byte ID_XATransactionId = 112;
|
||||||
|
|
||||||
int formatId;
|
int formatId;
|
||||||
byte[] globalTransactionId;
|
byte[] globalTransactionId;
|
||||||
byte[] branchQualifier;
|
byte[] branchQualifier;
|
||||||
|
|
||||||
public override int GetHashCode() {
|
public override int GetHashCode() {
|
||||||
int answer = 0;
|
int answer = 0;
|
||||||
answer = (answer * 37) + HashCode(FormatId);
|
answer = (answer * 37) + HashCode(FormatId);
|
||||||
answer = (answer * 37) + HashCode(GlobalTransactionId);
|
answer = (answer * 37) + HashCode(GlobalTransactionId);
|
||||||
answer = (answer * 37) + HashCode(BranchQualifier);
|
answer = (answer * 37) + HashCode(BranchQualifier);
|
||||||
return answer;
|
return answer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override bool Equals(object that) {
|
public override bool Equals(object that) {
|
||||||
if (that is XATransactionId) {
|
if (that is XATransactionId) {
|
||||||
return Equals((XATransactionId) that);
|
return Equals((XATransactionId) that);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual bool Equals(XATransactionId that) {
|
public virtual bool Equals(XATransactionId that) {
|
||||||
if (! Equals(this.FormatId, that.FormatId)) return false;
|
if (! Equals(this.FormatId, that.FormatId)) return false;
|
||||||
if (! Equals(this.GlobalTransactionId, that.GlobalTransactionId)) return false;
|
if (! Equals(this.GlobalTransactionId, that.GlobalTransactionId)) return false;
|
||||||
if (! Equals(this.BranchQualifier, that.BranchQualifier)) return false;
|
if (! Equals(this.BranchQualifier, that.BranchQualifier)) return false;
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public override string ToString() {
|
public override string ToString() {
|
||||||
return GetType().Name + "["
|
return GetType().Name + "["
|
||||||
+ " FormatId=" + FormatId
|
+ " FormatId=" + FormatId
|
||||||
+ " GlobalTransactionId=" + GlobalTransactionId
|
+ " GlobalTransactionId=" + GlobalTransactionId
|
||||||
+ " BranchQualifier=" + BranchQualifier
|
+ " BranchQualifier=" + BranchQualifier
|
||||||
+ " ]";
|
+ " ]";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public override byte GetDataStructureType() {
|
public override byte GetDataStructureType() {
|
||||||
return ID_XATransactionId;
|
return ID_XATransactionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
|
|
||||||
public int FormatId
|
public int FormatId
|
||||||
{
|
{
|
||||||
get { return formatId; }
|
get { return formatId; }
|
||||||
set { this.formatId = value; }
|
set { this.formatId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte[] GlobalTransactionId
|
public byte[] GlobalTransactionId
|
||||||
{
|
{
|
||||||
get { return globalTransactionId; }
|
get { return globalTransactionId; }
|
||||||
set { this.globalTransactionId = value; }
|
set { this.globalTransactionId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte[] BranchQualifier
|
public byte[] BranchQualifier
|
||||||
{
|
{
|
||||||
get { return branchQualifier; }
|
get { return branchQualifier; }
|
||||||
set { this.branchQualifier = value; }
|
set { this.branchQualifier = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,9 +1,9 @@
|
||||||
|
using ActiveMQ.Commands;
|
||||||
|
using ActiveMQ.OpenWire;
|
||||||
|
using ActiveMQ.Transport;
|
||||||
|
using JMS;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Threading;
|
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ
|
namespace ActiveMQ
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,6 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ
|
namespace ActiveMQ
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,11 +14,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
using ActiveMQ.Commands;
|
||||||
|
using ActiveMQ.Transport;
|
||||||
|
using JMS;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ
|
namespace ActiveMQ
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,6 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ
|
namespace ActiveMQ
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,11 +14,9 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ
|
namespace ActiveMQ
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -14,12 +14,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
using System.Collections;
|
|
||||||
using System.Threading;
|
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
using JMS;
|
||||||
|
using System.Threading;
|
||||||
|
|
||||||
namespace ActiveMQ
|
namespace ActiveMQ
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,10 +14,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
|
using JMS;
|
||||||
using ActiveMQ.OpenWire;
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ
|
namespace ActiveMQ
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,9 +14,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using System;
|
using System;
|
||||||
using ActiveMQ.OpenWire;
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,14 +14,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
|
||||||
using System.Net;
|
|
||||||
using System.Text;
|
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
using System.IO;
|
||||||
using ActiveMQ.OpenWire;
|
using System.Text;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System.Collections;
|
using ActiveMQ.Commands;
|
||||||
|
using JMS;
|
||||||
using System;
|
using System;
|
||||||
|
using System.Collections;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -14,11 +14,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -14,11 +14,9 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
using System;
|
using ActiveMQ.Commands;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire
|
||||||
{
|
{
|
||||||
public delegate object PropertyGetter(ActiveMQMessage message);
|
public delegate object PropertyGetter(ActiveMQMessage message);
|
||||||
|
|
|
@ -14,12 +14,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
using ActiveMQ.Commands;
|
||||||
|
using ActiveMQ.OpenWire.V1;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
using JMS;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -20,7 +20,6 @@ using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
|
@ -19,8 +19,8 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
using ActiveMQ.Commands;
|
||||||
using ActiveMQ.OpenWire;
|
using ActiveMQ.OpenWire;
|
||||||
using ActiveMQ.OpenWire.Commands;
|
|
||||||
using ActiveMQ.OpenWire.V1;
|
using ActiveMQ.OpenWire.V1;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire.V1
|
namespace ActiveMQ.OpenWire.V1
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue