Class Watch
Creates a deathwatch subscription between Watchee and Watcher.
Watcher will be notified via a Terminated message when Watchee is stopped. In the case of a remote actor references, a Terminated may also be produced in the event that the association between the two remote actor systems fails.
Inherited Members
Namespace: Akka.Dispatch.SysMsg
Assembly: Akka.dll
Syntax
public class Watch : SystemMessage, ISystemMessage, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceWatch(IInternalActorRef, IInternalActorRef)
Initializes a new instance of the Watch class.
Declaration
public Watch(IInternalActorRef watchee, IInternalActorRef watcher)
Parameters
Type | Name | Description |
---|---|---|
IInternalActorRef | watchee | The watchee. |
IInternalActorRef | watcher | The watcher. |
Properties
| Edit this page View SourceWatchee
Gets the watchee.
Declaration
public IInternalActorRef Watchee { get; }
Property Value
Type | Description |
---|---|
IInternalActorRef | The watchee. |
Watcher
Gets the watcher.
Declaration
public IInternalActorRef Watcher { get; }
Property Value
Type | Description |
---|---|
IInternalActorRef | The watcher. |
Methods
| Edit this page View SourceEquals(Watch)
Declaration
protected bool Equals(Watch other)
Parameters
Type | Name | Description |
---|---|---|
Watch | 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 SourceToString()
TBD
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | TBD |