ISessionTransactionIdStorage

StockSharp.Configuration

The interface describing the session based transaction and request identifiers storage.

Métodos

CreateRequestId() : string

Create request identifier.

Devuelve: The request identifier.

CreateTransactionId(string) : long

Create association.

requestId
The request identifier.

Devuelve: Transaction ID.

RemoveRequestId(string) : bool

Delete association.

requestId
The request identifier.

Devuelve: if association was removed successfully, otherwise, returns .

RemoveTransactionId(long) : bool

Delete association.

transactionId
Transaction ID.

Devuelve: if association was removed successfully, otherwise, returns .

TryGetRequestId(long, string) : bool

Try find request id by the specified transaction id.

transactionId
Transaction ID.
requestId
The found request identifier when method returns ; otherwise default.

Devuelve: if request id was found for the specified transaction; otherwise, .

TryGetTransactionId(string, long) : bool

Try find transaction id by the specified request id.

requestId
The request identifier.
transactionId
The found transaction id when method returns ; otherwise default.

Devuelve: if transaction id was found for the specified request; otherwise, .