Struct CmeILinkHeader
CME ILink 3 message header.
Inherited Members
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
[EncodingTypeForEncoder(51966)]
public struct CmeILinkHeader : IMessageHeaderWithEncodingType, IMessageHeader, IEquatable<CmeILinkHeader>
Remarks
Properties
BlockLength
Declaration
public ushort BlockLength { readonly get; set; }
Property Value
Type | Description |
---|---|
ushort | Size of the message root block. |
EncodingType
Declaration
public ushort EncodingType { readonly get; set; }
Property Value
Type | Description |
---|---|
ushort | The identifier of the encoding used in the message payload. |
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(CmeILinkHeader)
Indicates whether the current object is equal to another object of the same type.
Declaration
public readonly bool Equals(CmeILinkHeader other)
Parameters
Type | Name | Description |
---|---|---|
CmeILinkHeader | other | An object to compare with this object |
Returns
Type | Description |
---|---|
bool |
|
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 ==(CmeILinkHeader, CmeILinkHeader)
Declaration
public static bool operator ==(CmeILinkHeader left, CmeILinkHeader right)
Parameters
Type | Name | Description |
---|---|---|
CmeILinkHeader | left | |
CmeILinkHeader | right |
Returns
Type | Description |
---|---|
bool |
operator !=(CmeILinkHeader, CmeILinkHeader)
Declaration
public static bool operator !=(CmeILinkHeader left, CmeILinkHeader right)
Parameters
Type | Name | Description |
---|---|---|
CmeILinkHeader | left | |
CmeILinkHeader | right |
Returns
Type | Description |
---|---|
bool |