IncomingRequestCheck
StockSharp.Server.Core
The identity an incoming client request has to carry before anything is done with it.
Métodos
IsUsable
public static bool IsUsable(long transactionId)
result = IncomingRequestCheck.IsUsable(transactionId)
Whether a transaction identifier can be used as a key.
- transactionId
- The identifier as the client wrote it.
Devuelve: when it may be acted on.
TryValidate
public static bool TryValidate(Message request, Exception error)
result = IncomingRequestCheck.TryValidate(request, error)
Checks an incoming request carries an identity that can be acted on.
- request
- The request as it arrived.
- error
- Why it must be refused, or when it may proceed.
Devuelve: when the request may be acted on.