Show / Hide Table of Contents

# Class BaseDataStructure

Base class for all DataStructure implementations

##### Inheritance

System.Object
BaseDataStructure
ActiveMQDestination
BaseCommand
BrokerId
ConnectionId
ConsumerId
DiscoveryEvent
JournalQueueAck
JournalTopicAck
JournalTrace
JournalTransaction
MessageId
NetworkBridgeFilter
PartialCommand
ProducerId
SessionId
SubscriptionInfo
TransactionId

##### Implements

DataStructure
System.ICloneable

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ.Commands

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public abstract class BaseDataStructure : DataStructure, ICloneable

### Methods

| Improve this Doc View Source

#### AfterMarshall(OpenWireFormat)

##### Declaration

    public virtual void AfterMarshall(OpenWireFormat wireFormat)

##### Parameters

Type | Name | Description
--- | --- | ---
OpenWireFormat | wireFormat |

| Improve this Doc View Source

#### AfterUnmarshall(OpenWireFormat)

##### Declaration

    public virtual void AfterUnmarshall(OpenWireFormat wireFormat)

##### Parameters

Type | Name | Description
--- | --- | ---
OpenWireFormat | wireFormat |

| Improve this Doc View Source

#### BeforeMarshall(OpenWireFormat)

##### Declaration

    public virtual void BeforeMarshall(OpenWireFormat wireFormat)

##### Parameters

Type | Name | Description
--- | --- | ---
OpenWireFormat | wireFormat |

| Improve this Doc View Source

#### BeforeUnmarshall(OpenWireFormat)

##### Declaration

    public virtual void BeforeUnmarshall(OpenWireFormat wireFormat)

##### Parameters

Type | Name | Description
--- | --- | ---
OpenWireFormat | wireFormat |

| Improve this Doc View Source

#### Clone()

##### Declaration

    public virtual object Clone()

##### Returns

Type | Description
--- | ---
System.Object |

| Improve this Doc View Source

#### GetDataStructureType()

##### Declaration

    public virtual byte GetDataStructureType()

##### Returns

Type | Description
--- | ---
System.Byte |

| Improve this Doc View Source

#### GetMarshalledForm(OpenWireFormat)

##### Declaration

    public virtual byte[] GetMarshalledForm(OpenWireFormat wireFormat)

##### Parameters

Type | Name | Description
--- | --- | ---
OpenWireFormat | wireFormat |

##### Returns

Type | Description
--- | ---
System.Byte[] |

| Improve this Doc View Source

#### HashCode(Object)

##### Declaration

    public int HashCode(object value)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Object | value |

##### Returns

Type | Description
--- | ---
System.Int32 |

| Improve this Doc View Source

#### IsMarshallAware()

##### Declaration

    public virtual bool IsMarshallAware()

##### Returns

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### SetMarshalledForm(OpenWireFormat, Byte[])

##### Declaration

    public virtual void SetMarshalledForm(OpenWireFormat wireFormat, byte[] data)

##### Parameters

Type | Name | Description
--- | --- | ---
OpenWireFormat | wireFormat |
System.Byte[] | data |

### Implements

DataStructure
System.ICloneable