RoutingInResult

StockSharp.Algo.Basket

Result of processing an incoming message for routing.

属性

Handled : bool

Whether the message was fully handled (no further processing needed).

IsPended : bool

Whether the message was pended (waiting for connection).

LoopbackMessages : IReadOnlyList<Message>

Messages to loop back to the basket (e.g., pending messages after connect).

OutMessages : IReadOnlyList<Message>

Messages to send to the outer handler (e.g., SubscriptionResponse, error messages).

RoutingDecisions : IReadOnlyList<ValueTuple<IMessageAdapter, Message>>

Routing decisions: which adapter should receive which message.

方法

CreateHandled() : RoutingInResult

Create a handled result with no routing (message was fully processed).

Pended() : RoutingInResult

Create a pended result (message was queued for later processing).

WithOutMessage(Message) : RoutingInResult

Create a result with an output message (e.g., not supported response).

WithRouting(IReadOnlyList<ValueTuple<IMessageAdapter, Message>>) : RoutingInResult

Create a result with routing decisions.

字段

Empty : RoutingInResult

Empty result.