ScaleoutMessageBus Class

.NET Framework 4

Sends messages to the backplane.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Messaging.MessageBus
    Microsoft.AspNet.SignalR.Messaging.ScaleoutMessageBus
      Microsoft.AspNet.SignalR.Redis.RedisMessageBus
      Microsoft.AspNet.SignalR.ServiceBus.ServiceBusMessageBus
      Microsoft.AspNet.SignalR.SqlServer.SqlMessageBus

Namespace:  Microsoft.AspNet.SignalR.Messaging
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public MustInherit Class ScaleoutMessageBus _
    Inherits MessageBus
'Usage
Dim instance As ScaleoutMessageBus
public abstract class ScaleoutMessageBus : MessageBus
public ref class ScaleoutMessageBus abstract : public MessageBus
[<AbstractClassAttribute>]
type ScaleoutMessageBus =  
    class 
        inherit MessageBus 
    end
public abstract class ScaleoutMessageBus extends MessageBus

The ScaleoutMessageBus type exposes the following members.

Constructors

  Name Description
Protected method ScaleoutMessageBus

Top

Properties

  Name Description
Public property AllocatedWorkers (Inherited from MessageBus.)
Public property BusyWorkers (Inherited from MessageBus.)
Protected property Counters (Inherited from MessageBus.)
Protected property Topics (Inherited from MessageBus.)

Top

Methods

  Name Description
Protected method CreateSubscription (Overrides MessageBus.CreateSubscription(ISubscriber, String, Func<MessageResult, Task<Boolean>>, Int32).)
Protected method CreateTopic Creates a topic for the specified key. (Inherited from MessageBus.)
Public method Dispose() (Inherited from MessageBus.)
Protected method Dispose(Boolean) (Inherited from MessageBus.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnReceived Invoked when a payload is received from the backplane. There should only be one active call at any time.
Public method Publish (Overrides MessageBus.Publish(Message).)
Protected method Save (Inherited from MessageBus.)
Protected method ScheduleEvent (Inherited from MessageBus.)
Protected method Send
Public method Subscribe (Inherited from MessageBus.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.AspNet.SignalR.Messaging Namespace