Show / Hide Table of Contents

# Class OpenWireFormat

Implements the OpenWire protocol.

##### Inheritance

System.Object
OpenWireFormat

##### Implements

IWireFormat

##### 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.OpenWire

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

##### Syntax

    public class OpenWireFormat : IWireFormat

### Constructors

| Improve this Doc View Source

#### OpenWireFormat()

##### Declaration

    public OpenWireFormat()

### Properties

| Improve this Doc View Source

#### CacheEnabled

##### Declaration

    public bool CacheEnabled { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### CacheSize

##### Declaration

    public int CacheSize { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### MaxInactivityDuration

##### Declaration

    public long MaxInactivityDuration { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### MaxInactivityDurationInitialDelay

##### Declaration

    public long MaxInactivityDurationInitialDelay { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### PreferredWireFormatInfo

##### Declaration

    public WireFormatInfo PreferredWireFormatInfo { get; set; }

##### Property Value

Type | Description
--- | ---
WireFormatInfo |

| Improve this Doc View Source

#### SizePrefixDisabled

##### Declaration

    public bool SizePrefixDisabled { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### StackTraceEnabled

##### Declaration

    public bool StackTraceEnabled { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### TcpNoDelayEnabled

##### Declaration

    public bool TcpNoDelayEnabled { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### TightEncodingEnabled

##### Declaration

    public bool TightEncodingEnabled { get; set; }

##### Property Value

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

| Improve this Doc View Source

#### Transport

##### Declaration

    public ITransport Transport { get; set; }

##### Property Value

Type | Description
--- | ---
ITransport |

| Improve this Doc View Source

#### Version

##### Declaration

    public int Version { get; set; }

##### Property Value

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

### Methods

| Improve this Doc View Source

#### addMarshaller(BaseDataStreamMarshaller)

##### Declaration

    public void addMarshaller(BaseDataStreamMarshaller marshaller)

##### Parameters

Type | Name | Description
--- | --- | ---
BaseDataStreamMarshaller | marshaller |

| Improve this Doc View Source

#### clearMarshallers()

##### Declaration

    public void clearMarshallers()

| Improve this Doc View Source

#### LooseMarshalNestedObject(DataStructure, BinaryWriter)

##### Declaration

    public void LooseMarshalNestedObject(DataStructure o, BinaryWriter dataOut)

##### Parameters

Type | Name | Description
--- | --- | ---
DataStructure | o |
System.IO.BinaryWriter | dataOut |

| Improve this Doc View Source

#### LooseUnmarshalNestedObject(BinaryReader)

##### Declaration

    public DataStructure LooseUnmarshalNestedObject(BinaryReader dis)

##### Parameters

Type | Name | Description
--- | --- | ---
System.IO.BinaryReader | dis |

##### Returns

Type | Description
--- | ---
DataStructure |

| Improve this Doc View Source

#### Marshal(Object, BinaryWriter)

##### Declaration

    public void Marshal(object o, BinaryWriter ds)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Object | o |
System.IO.BinaryWriter | ds |

| Improve this Doc View Source

#### RenegotiateWireFormat(WireFormatInfo)

##### Declaration

    public void RenegotiateWireFormat(WireFormatInfo info)

##### Parameters

Type | Name | Description
--- | --- | ---
WireFormatInfo | info |

| Improve this Doc View Source

#### TightMarshalNestedObject1(DataStructure, BooleanStream)

##### Declaration

    public int TightMarshalNestedObject1(DataStructure o, BooleanStream bs)

##### Parameters

Type | Name | Description
--- | --- | ---
DataStructure | o |
BooleanStream | bs |

##### Returns

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

| Improve this Doc View Source

#### TightMarshalNestedObject2(DataStructure, BinaryWriter, BooleanStream)

##### Declaration

    public void TightMarshalNestedObject2(DataStructure o, BinaryWriter ds, BooleanStream bs)

##### Parameters

Type | Name | Description
--- | --- | ---
DataStructure | o |
System.IO.BinaryWriter | ds |
BooleanStream | bs |

| Improve this Doc View Source

#### TightUnmarshalNestedObject(BinaryReader, BooleanStream)

##### Declaration

    public DataStructure TightUnmarshalNestedObject(BinaryReader dis, BooleanStream bs)

##### Parameters

Type | Name | Description
--- | --- | ---
System.IO.BinaryReader | dis |
BooleanStream | bs |

##### Returns

Type | Description
--- | ---
DataStructure |

| Improve this Doc View Source

#### Unmarshal(BinaryReader)

##### Declaration

    public object Unmarshal(BinaryReader dis)

##### Parameters

Type | Name | Description
--- | --- | ---
System.IO.BinaryReader | dis |

##### Returns

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

### Implements

IWireFormat