C# Class Microsoft.AspNetCore.SignalR.Messaging.MessageBus

Inheritance: IMessageBus, IDisposable
Afficher le fichier Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

Méthodes publiques

Méthode Description
Dispose ( ) : void
Publish ( Message message ) : Task

Publishes a new message to the specified event on the bus.

Méthodes protégées

Méthode Description
CreateTopic ( string key ) : Topic

Creates a topic for the specified key.

Dispose ( bool disposing ) : void
Save ( Message message ) : ulong
ScheduleEvent ( string eventKey ) : void

Private Methods

Méthode Description
AddEvent ( ISubscriber subscriber, string eventKey ) : void
CreateSubscription ( ISubscriber subscriber, string cursor, Func callback, int messageBufferSize, object state ) : Subscription
DestroyTopic ( string key, Topic topic ) : void
DestroyTopicCore ( string key, Topic topic ) : void
DisposeSubscription ( object state ) : void
GarbageCollectTopics ( ) : void
GetTopic ( string key ) : Topic
MessageBus ( IStringMinifier stringMinifier, ILoggerFactory loggerFactory, IPerformanceCounterManager performanceCounterManager, IOptions optionsAccessor ) : System
RemoveEvent ( ISubscriber subscriber, string eventKey ) : void
ScheduleTopic ( Topic topic ) : void
Subscribe ( ISubscriber subscriber, string cursor, Func callback, int maxMessages, object state ) : IDisposable
SubscribeTopic ( string key ) : Topic

Method Details

CreateTopic() protected méthode

Creates a topic for the specified key.
protected CreateTopic ( string key ) : Topic
key string The key to create the topic for.
Résultat Topic

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Publish() public méthode

Publishes a new message to the specified event on the bus.
public Publish ( Message message ) : Task
message Message The message to publish.
Résultat Task

Save() protected méthode

protected Save ( Message message ) : ulong
message Message
Résultat ulong

ScheduleEvent() protected méthode

protected ScheduleEvent ( string eventKey ) : void
eventKey string
Résultat void