RedisMessageBus Class

.NET Framework 4.5

Represents a service bus for Redis message. Uses Redis pub-sub to scale-out SignalR applications in web farms.

Namespace:  Microsoft.AspNet.SignalR.Redis
Assembly:  Microsoft.AspNet.SignalR.Redis (in Microsoft.AspNet.SignalR.Redis.dll)

public ref class RedisMessageBus : public ScaleoutMessageBus

The RedisMessageBus type exposes the following members.

  NameDescription
Public methodRedisMessageBusInitializes a new instance of the RedisMessageBus class.
Top

  NameDescription
Protected propertyCountersGets or sets the performance counter manager associated with SignalR. (Inherited from MessageBus.)
Public propertyReconnectDelayGets or sets the time to wait for the reconnection attempt.
Protected propertyStreamCountThe number of streams can't change for the lifetime of this instance. (Inherited from ScaleoutMessageBus.)
Protected propertyTopicsGets or sets the event topics for the subscription. (Inherited from MessageBus.)
Protected propertyTraceGets the trace source used to trace execution of code. (Inherited from MessageBus.)
Top

  NameDescription
Protected methodClose (Inherited from ScaleoutMessageBus.)
Protected methodCreateSubscription (Inherited from ScaleoutMessageBus.)
Protected methodCreateTopicCreates a new topic. (Inherited from MessageBus.)
Public methodDispose()Releases the resources used by the current instance of the MessageBus class. (Inherited from MessageBus.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the RedisMessageBus class and optionally releases the managed resources. (Overrides ScaleoutMessageBus::Dispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnErrorCloses the specified queue for sending messages making all sends fail asynchronously. (Inherited from ScaleoutMessageBus.)
Protected methodOnReceivedInvoked when a payload is received from the backplane. There should only be one active call at any time. (Inherited from ScaleoutMessageBus.)
Protected methodOpen (Inherited from ScaleoutMessageBus.)
Public methodPublishPublishes a message from the scaleout message bus. (Inherited from ScaleoutMessageBus.)
Protected methodSaveSaves the specified message to the topic message store. (Inherited from MessageBus.)
Protected methodScheduleEventSchedules work on the topic subscriptions with the specified event key. (Inherited from MessageBus.)
Protected methodSend(IList<Message>)Sends the messages from the SignalR scaleout message bus. (Inherited from ScaleoutMessageBus.)
Protected methodSend(Int32, IList<Message>)Publishes the specified message to the service bus. (Overrides ScaleoutMessageBus::Send(Int32, IList<Message>).)
Public methodSubscribeEstablishes a topic subscription for the subscriber on the message bus. (Inherited from MessageBus.)
Public methodToString (Inherited from Object.)
Top

No content here will be updated; please do not add material here.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: