RemoteActorPath
in package
implements
ActorPathContract
Read onlyYes
FinalYes
Remote actor path with explicit cluster address plus local actor path.
Tags
Table of Contents
Interfaces
- ActorPathContract
- Common contract for local and remote actor paths.
Methods
- __construct() : mixed
- __toString() : string
- address() : string
- depth() : int
- equals() : bool
- forWorker() : self
- fromAddress() : self
- isChildOf() : bool
- isDescendantOf() : bool
- localPath() : ActorPath
- name() : string
- parent() : ActorPathContract|null
Methods
__construct()
public
__construct(string $address, ActorPath $path) : mixed
Parameters
- $address : string
- $path : ActorPath
__toString()
public
__toString() : string
Return values
stringaddress()
public
address() : string
Return values
stringdepth()
public
depth() : int
Return values
intequals()
public
equals(ActorPathContract $other) : bool
Parameters
- $other : ActorPathContract
Return values
boolforWorker()
public
static forWorker(int $workerId, ActorPath $path) : self
Parameters
- $workerId : int
- $path : ActorPath
Return values
selffromAddress()
public
static fromAddress(string $address, ActorPath $path) : self
Parameters
- $address : string
- $path : ActorPath
Return values
selfisChildOf()
public
isChildOf(ActorPathContract $parent) : bool
Parameters
- $parent : ActorPathContract
Return values
boolisDescendantOf()
public
isDescendantOf(ActorPathContract $ancestor) : bool
Parameters
- $ancestor : ActorPathContract
Return values
boollocalPath()
public
localPath() : ActorPath
Return values
ActorPathname()
public
name() : string
Return values
stringparent()
public
parent() : ActorPathContract|null