ProtoOAAccountsTokenInvalidatedEvent
* Event that is sent when a session to a specific trader's account is terminated by the server but the existing connections with the other trader's accounts are maintained.
Implements: IMessage<ProtoOAAccountsTokenInvalidatedEvent>, IMessage, IEquatable<ProtoOAAccountsTokenInvalidatedEvent>, IDeepCloneable<ProtoOAAccountsTokenInvalidatedEvent>, IBufferMessage
Properties
public RepeatedField<long> CtidTraderAccountIds { get; }
value = protoOAAccountsTokenInvalidatedEvent.CtidTraderAccountIds
The unique identifier of the trader's account in cTrader platform.
public bool HasPayloadType { get; }
value = protoOAAccountsTokenInvalidatedEvent.HasPayloadType
Gets whether the "payloadType" field is set
public bool HasReason { get; }
value = protoOAAccountsTokenInvalidatedEvent.HasReason
Gets whether the "reason" field is set
public string Reason { get; set; }
value = protoOAAccountsTokenInvalidatedEvent.Reason
protoOAAccountsTokenInvalidatedEvent.Reason = value
The disconnection reason explained. For example: Access Token is expired or recalled.
Methods
public void ClearPayloadType()
protoOAAccountsTokenInvalidatedEvent.ClearPayloadType()
Clears the value of the "payloadType" field
public void ClearReason()
protoOAAccountsTokenInvalidatedEvent.ClearReason()
Clears the value of the "reason" field
Fields
public const int CtidTraderAccountIdsFieldNumber
value = ProtoOAAccountsTokenInvalidatedEvent.CtidTraderAccountIdsFieldNumber
Field number for the "ctidTraderAccountIds" field.
public const int PayloadTypeFieldNumber
value = ProtoOAAccountsTokenInvalidatedEvent.PayloadTypeFieldNumber
Field number for the "payloadType" field.
public const int ReasonFieldNumber
value = ProtoOAAccountsTokenInvalidatedEvent.ReasonFieldNumber
Field number for the "reason" field.