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
| Improve this Doc View SourceWatch(IInternalActorRef, IInternalActorRef)
Initializes a new instance of the Watch class.
Declaration
public Watch(IInternalActorRef watchee, IInternalActorRef watcher)
Parameters
Type | Name | Description |
---|---|---|
Akka.Actor.IInternalActorRef | watchee | The watchee. |
Akka.Actor.IInternalActorRef | watcher | The watcher. |
Properties
| Improve this Doc View SourceWatchee
Gets the watchee.
Declaration
public IInternalActorRef Watchee { get; }
Property Value
Type | Description |
---|---|
Akka.Actor.IInternalActorRef | The watchee. |
Watcher
Gets the watcher.
Declaration
public IInternalActorRef Watcher { get; }
Property Value
Type | Description |
---|---|
Akka.Actor.IInternalActorRef | The watcher. |
Methods
| Improve this Doc View SourceEquals(Watch)
Declaration
protected bool Equals(Watch other)
Parameters
Type | Name | Description |
---|---|---|
Watch | other |
Returns
Type | Description |
---|---|
Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceToString()
TBD
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | TBD |