C# Class Akka.Routing.BroadcastGroup

This class represents a Group router that sends messages it receives to all of its routees.
Inheritance: Akka.Routing.Group
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
BroadcastGroup ( ) : System.Collections.Generic

Initializes a new instance of the BroadcastGroup class.

BroadcastGroup ( Config config ) : System.Collections.Generic

Initializes a new instance of the BroadcastGroup class.

BroadcastGroup ( IEnumerable routees ) : System.Collections.Generic

Initializes a new instance of the BroadcastGroup class.

BroadcastGroup ( IEnumerable paths ) : System.Collections.Generic

Initializes a new instance of the BroadcastGroup class.

CreateRouter ( ActorSystem system ) : Router

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

ToSurrogate ( ActorSystem system ) : ISurrogate

Creates a surrogate representation of the current BroadcastGroup.

WithDispatcher ( string dispatcher ) : Akka.Routing.Group

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

Method Details

BroadcastGroup() public méthode

Initializes a new instance of the BroadcastGroup class.
public BroadcastGroup ( ) : System.Collections.Generic
Résultat System.Collections.Generic

BroadcastGroup() public méthode

Initializes a new instance of the BroadcastGroup class.
public BroadcastGroup ( 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. /// ///
Résultat System.Collections.Generic

BroadcastGroup() public méthode

Initializes a new instance of the BroadcastGroup class.
public BroadcastGroup ( IEnumerable routees ) : System.Collections.Generic
routees IEnumerable An enumeration of routees used by the group router.
Résultat System.Collections.Generic

BroadcastGroup() public méthode

Initializes a new instance of the BroadcastGroup class.
public BroadcastGroup ( IEnumerable paths ) : System.Collections.Generic
paths IEnumerable An enumeration of actor paths used by the group router.
Résultat System.Collections.Generic

CreateRouter() public méthode

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.
Résultat Router

ToSurrogate() public méthode

Creates a surrogate representation of the current BroadcastGroup.
public ToSurrogate ( ActorSystem system ) : ISurrogate
system ActorSystem The actor system that owns this router.
Résultat ISurrogate

WithDispatcher() public méthode

Creates a new BroadcastGroup 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.
Résultat Akka.Routing.Group