Interface ISessionTransactionIdStorage
- Namespace
- StockSharp.Server.Core
- Assembly
- StockSharp.Server.Core.dll
The interface describing the session based transaction and request identifiers storage.
public interface ISessionTransactionIdStorage
- Extension Methods
Methods
CreateRequestId()
Create request identifier.
string CreateRequestId()
Returns
- string
The request identifier.
CreateTransactionId(string)
Create association.
long CreateTransactionId(string requestId)
Parameters
requestId
stringThe request identifier.
Returns
- long
Transaction ID.
RemoveRequestId(string)
Delete association.
bool RemoveRequestId(string requestId)
Parameters
requestId
stringThe request identifier.
Returns
RemoveTransactionId(long)
Delete association.
bool RemoveTransactionId(long transactionId)
Parameters
transactionId
longTransaction ID.
Returns
TryGetRequestId(long)
Find request id by the specified transaction id.
string TryGetRequestId(long transactionId)
Parameters
transactionId
longTransaction ID.
Returns
TryGetTransactionId(string)
Find transaction id by the specified request id.
long? TryGetTransactionId(string requestId)
Parameters
requestId
stringThe request identifier.