C# 클래스 Akka.Routing.ScatterGatherFirstCompletedRoutingLogic

This class contains logic used by a Router to route a message to a Routee determined using scatter-gather-first-completed. This process has the router send a message to all of its routees. The first response is used and the remaining are discarded. If the none of the routees respond within a specified time limit, a timeout failure occurs.
상속: RoutingLogic
파일 보기 프로젝트 열기: rogeralsing/akka.net

공개 메소드들

메소드 설명
ScatterGatherFirstCompletedRoutingLogic ( System.TimeSpan within ) : System

Initializes a new instance of the ScatterGatherFirstCompletedRoutingLogic class.

Select ( object message, Routee routees ) : Routee

Picks all the provided routees to receive the message.

메소드 상세

ScatterGatherFirstCompletedRoutingLogic() 공개 메소드

Initializes a new instance of the ScatterGatherFirstCompletedRoutingLogic class.
public ScatterGatherFirstCompletedRoutingLogic ( System.TimeSpan within ) : System
within System.TimeSpan The amount of time to wait for a response.
리턴 System

Select() 공개 메소드

Picks all the provided routees to receive the message.
public Select ( object message, Routee routees ) : Routee
message object The message that is being routed
routees Routee A collection of routees to choose from when receiving the .
리턴 Routee