C# 클래스 Akka.Routing.RandomGroup

Class RandomGroup.
상속: Akka.Routing.Group
파일 보기 프로젝트 열기: rogeralsing/akka.net

공개 메소드들

메소드 설명
CreateRouter ( ActorSystem system ) : Router

Creates a router that is responsible for routing messages to routees within the provided system.

RandomGroup ( ) : System.Collections.Generic

Initializes a new instance of the RandomGroup class.

RandomGroup ( Config config ) : System.Collections.Generic

Initializes a new instance of the RandomGroup class.

RandomGroup ( IEnumerable paths ) : System.Collections.Generic

Initializes a new instance of the RandomGroup class.

ToSurrogate ( ActorSystem system ) : ISurrogate

Creates a surrogate representation of the current RandomGroup.

WithDispatcher ( string dispatcher ) : Akka.Routing.Group

Creates a new RandomGroup router with a given dispatcher id. This method is immutable and returns a new instance of the router.

메소드 상세

CreateRouter() 공개 메소드

Creates a router that is responsible for routing messages to routees within the provided system.
public CreateRouter ( ActorSystem system ) : Router
system ActorSystem The actor system that owns this router.
리턴 Router

RandomGroup() 공개 메소드

Initializes a new instance of the RandomGroup class.
public RandomGroup ( ) : System.Collections.Generic
리턴 System.Collections.Generic

RandomGroup() 공개 메소드

Initializes a new instance of the RandomGroup class.
public RandomGroup ( Config config ) : System.Collections.Generic
config Akka.Configuration.Config /// The configuration to use to lookup paths used by the group router. /// /// /// If 'routees.path' is defined in the provided configuration then those paths will be used by the router. /// ///
리턴 System.Collections.Generic

RandomGroup() 공개 메소드

Initializes a new instance of the RandomGroup class.
public RandomGroup ( IEnumerable paths ) : System.Collections.Generic
paths IEnumerable An enumeration of paths used by the group router.
리턴 System.Collections.Generic

ToSurrogate() 공개 메소드

Creates a surrogate representation of the current RandomGroup.
public ToSurrogate ( ActorSystem system ) : ISurrogate
system ActorSystem The actor system that owns this router.
리턴 ISurrogate

WithDispatcher() 공개 메소드

Creates a new RandomGroup router with a given dispatcher id. This method is immutable and returns a new instance of the router.
public WithDispatcher ( string dispatcher ) : Akka.Routing.Group
dispatcher string The dispatcher id used to configure the new router.
리턴 Akka.Routing.Group