Class Group
This class provides base functionality for all group routers in the system. Group routers are routers that use already created routees. These routees are supplied to the router and are addressed through ActorSelection paths.
Inheritance
Group
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public abstract class Group : RouterConfig, ISurrogated, IEquatable<RouterConfig>, IEquatable<Group>
Constructors
| Edit this page View SourceGroup(IEnumerable<string>, string)
TBD
Declaration
protected Group(IEnumerable<string> paths, string routerDispatcher)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<string> | paths | TBD |
string | routerDispatcher | TBD |
Fields
| Edit this page View SourceInternalPaths
Internal property for holding the supplied paths
Declaration
protected readonly string[] InternalPaths
Field Value
Type | Description |
---|---|
string[] |
Methods
| Edit this page View SourceCreateRouterActor()
TBD
Declaration
public override ActorBase CreateRouterActor()
Returns
Type | Description |
---|---|
ActorBase | TBD |
Overrides
Akka.Routing.RouterConfig.CreateRouterActor()
|
Edit this page
View Source
Equals(Group)
Declaration
public bool Equals(Group other)
Parameters
Type | Name | Description |
---|---|---|
Group | other |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
| Edit this page View SourceGetPaths(ActorSystem)
Retrieves the actor paths used by this router during routee selection.
Declaration
public abstract IEnumerable<string> GetPaths(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | system | The actor system that owns this router. |
Returns
Type | Description |
---|---|
IEnumerable<string> | An enumeration of actor paths used during routee selection |
Props()
Adds the current router to an empty Props.
Declaration
public Props Props()
Returns
Type | Description |
---|---|
Props | An empty Props configured to use the current router. |