ProtoMessage

StockSharp.cTrader.Native.Model

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

Implementa: IMessage<ProtoMessage>, IMessage, IEquatable<ProtoMessage>, IDeepCloneable<ProtoMessage>, IBufferMessage

Propriedades

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).

Métodos

ClearClientMsgId()

Clears the value of the "clientMsgId" field

ClearPayload()

Clears the value of the "payload" field

ClearPayloadType()

Clears the value of the "payloadType" field

Campos

ClientMsgIdFieldNumber : int

Field number for the "clientMsgId" field.

PayloadFieldNumber : int

Field number for the "payload" field.

PayloadTypeFieldNumber : int

Field number for the "payloadType" field.