ProtoMessage
* 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.