Enum ConnectionRefusalReason
- Namespace
- ATAS.DataFeedsCore
- Assembly
- ATAS.DataFeedsCore.dll
Why the counterparty refused the connection in a way that a retry cannot fix. An error carrying one of these (see ConnectionRefusedException) stops the automatic reconnection of BaseConnector<TMessage, TPortfolioKey, TSecurityKey>: the user has to act first.
Added in ATAS 8.0.15.
public enum ConnectionRefusalReason
- Extension Methods
Fields
CredentialsRejected = 0The credentials were rejected: wrong login or password, disabled account, revoked or expired API key. The user has to fix the connection settings and connect again.
SessionTakenOver = 1The counterparty closed this session because another login with the same credentials took it over, or refused the login because such a session is already open. Reconnecting would only fight that session.