C# 클래스 Microsoft.AspNetCore.SignalR.Messaging.MessageBus

상속: IMessageBus, IDisposable
파일 보기 프로젝트 열기: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

공개 메소드들

메소드 설명
Dispose ( ) : void
Publish ( Message message ) : Task

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

보호된 메소드들

메소드 설명
CreateTopic ( string key ) : Topic

Creates a topic for the specified key.

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

비공개 메소드들

메소드 설명
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

메소드 상세

CreateTopic() 보호된 메소드

Creates a topic for the specified key.
protected CreateTopic ( string key ) : Topic
key string The key to create the topic for.
리턴 Topic

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Publish() 공개 메소드

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

Save() 보호된 메소드

protected Save ( Message message ) : ulong
message Message
리턴 ulong

ScheduleEvent() 보호된 메소드

protected ScheduleEvent ( string eventKey ) : void
eventKey string
리턴 void