Interface IMessage
Represents message.
Inherited Members
System.ICloneable.Clone()
System.IDisposable.Dispose()
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public interface IMessage : IFieldSet, ICloneable, IDisposable
Properties
BlockLength
Gets message block length.
Declaration
ushort BlockLength { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Buffer
Message buffer.
Declaration
byte *Buffer { get; }
Property Value
Type | Description |
---|---|
System.Byte* |
MsgSize
Gets message size.
Declaration
ushort MsgSize { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
SchemaID
Gets schema id which is used to encode this message.
Declaration
ushort SchemaID { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
SchemaIdUsedForDecode
Gets schema id which is used to decode this message.
Declaration
ushort SchemaIdUsedForDecode { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
SchemaVersionUsedForDecode
Gets schema version which is used to decode this message.
Declaration
ushort SchemaVersionUsedForDecode { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
TemplateID
Gets message template id.
Declaration
ushort TemplateID { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Type
Gets message type.
Declaration
string Type { get; }
Property Value
Type | Description |
---|---|
System.String |
Version
Gets message size.
Declaration
ushort Version { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |