Struct CmeMdp3Header
CME MDP3 message header.
Inherited Members
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public struct CmeMdp3Header : IMessageHeader, IEquatable<CmeMdp3Header>
Remarks
Properties
BlockLength
Declaration
public ushort BlockLength { readonly get; set; }
Property Value
Type | Description |
---|---|
ushort | Size of the message root block. |
MessageLength
Declaration
public ushort MessageLength { readonly get; set; }
Property Value
Type | Description |
---|---|
ushort | The overall message size, including this message header. |
SchemaID
Declaration
public ushort SchemaID { readonly get; set; }
Property Value
Type | Description |
---|---|
ushort | SBE Schema identifier. |
TemplateID
Declaration
public ushort TemplateID { readonly get; set; }
Property Value
Type | Description |
---|---|
ushort | Message Template identifier. |
Version
Declaration
public ushort Version { readonly get; set; }
Property Value
Type | Description |
---|---|
ushort | SBE Schema version. |
Methods
Equals(CmeMdp3Header)
Indicates whether the current object is equal to another object of the same type.
Declaration
public readonly bool Equals(CmeMdp3Header other)
Parameters
Type | Name | Description |
---|---|---|
CmeMdp3Header | other | An object to compare with this object |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the other parameter; otherwise, false |
Equals(object)
Indicates whether the current object is equal to another object of the same type.
Declaration
public override readonly bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | An object to compare with this object |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the other parameter; otherwise, false |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override readonly int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object |
Overrides
Operators
operator ==(CmeMdp3Header, CmeMdp3Header)
Declaration
public static bool operator ==(CmeMdp3Header left, CmeMdp3Header right)
Parameters
Type | Name | Description |
---|---|---|
CmeMdp3Header | left | |
CmeMdp3Header | right |
Returns
Type | Description |
---|---|
bool |
operator !=(CmeMdp3Header, CmeMdp3Header)
Declaration
public static bool operator !=(CmeMdp3Header left, CmeMdp3Header right)
Parameters
Type | Name | Description |
---|---|---|
CmeMdp3Header | left | |
CmeMdp3Header | right |
Returns
Type | Description |
---|---|
bool |