ProtoMessage

StockSharp.cTrader.Native.Model

* Base message that is used for all messages that are sent to/from Open API proxy of cTrader platform.

Реализует: IMessage<ProtoMessage>, IMessage, IEquatable<ProtoMessage>, IDeepCloneable<ProtoMessage>, IBufferMessage

Свойства

ClientMsgId : string

Request message id, assigned by the client that will be returned in the response.

HasClientMsgId : bool

Gets whether the "clientMsgId" field is set

HasPayload : bool

Gets whether the "payload" field is set

HasPayloadType : bool

Gets whether the "payloadType" field is set

Payload : ByteString

Serialized protobuf message that corresponds to payloadType.

PayloadType : uint

Contains id of ProtoPayloadType or other custom PayloadTypes (e.g. ProtoOAPayloadType).

Методы

ClearClientMsgId()

Clears the value of the "clientMsgId" field

ClearPayload()

Clears the value of the "payload" field

ClearPayloadType()

Clears the value of the "payloadType" field

Поля

ClientMsgIdFieldNumber : int

Field number for the "clientMsgId" field.

PayloadFieldNumber : int

Field number for the "payload" field.

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.