Click or drag to resize
Akka.NETSubscribe Class
Register a subscriber that will be notified with a [!:Changed<T>] message when the value of the given Key is changed. Current value is also sent as a [!:Changed<T>] message to a new subscriber. Subscribers will be notified periodically with the configured `notify-subscribers-interval`, and it is also possible to send an explicit `FlushChanges` message to the Replicator to notify the subscribers immediately. The subscriber will automatically be unregistered if it is terminated. If the key is deleted the subscriber is notified with a [!:DataDeleted<T>] message.
Inheritance Hierarchy
SystemObject
  Akka.DistributedDataSubscribe

Namespace:  Akka.DistributedData
Assembly:  Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
[SerializableAttribute]
public sealed class Subscribe : IReplicatorMessage, 
	IEquatable<Subscribe>

The Subscribe type exposes the following members.

Constructors
  NameDescription
Public methodSubscribe
Initializes a new instance of the Subscribe class
Top
Properties
  NameDescription
Public propertyKey
Public propertySubscriber
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(Subscribe)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Extension Methods
See Also