C# Класс Bebbs.Harmonize.With.Messaging.Via.SignalR.Service.HarmonizeHub

Наследование: Hub
Показать файл Открыть проект

Открытые методы

Метод Описание
Deregister ( Common.Dto.Identity registrar, Common.Dto.Entity entity ) : void

Deregisters the specified Component.IEntity and ensures that messages are no longer received for the entity

HarmonizeHub ( IHarmonizeConnector connector ) : Microsoft.AspNet.SignalR
Observe ( Common.Dto.Identity registrar, Common.Dto.Identity entity, Common.Dto.Identity source, Common.Dto.Identity observable ) : void

Observes the observable with the specified Component.Identity of the entity with the specified Component.Identity

Register ( Common.Dto.Identity registrar, Common.Dto.Entity entity ) : void

Registers the specified Component.IEntity and ensures messages destined for the entity are routed to the specified consumer

Приватные методы

Метод Описание
Process ( string connectionId, Common.Dto.Identity registrar, Common.Dto.Identity entity, Common.Dto.Message message ) : void

Описание методов

Deregister() публичный Метод

Deregisters the specified Component.IEntity and ensures that messages are no longer received for the entity
public Deregister ( Common.Dto.Identity registrar, Common.Dto.Entity entity ) : void
registrar Common.Dto.Identity The host deregistering the entity
entity Common.Dto.Entity
Результат void

HarmonizeHub() публичный Метод

public HarmonizeHub ( IHarmonizeConnector connector ) : Microsoft.AspNet.SignalR
connector IHarmonizeConnector
Результат Microsoft.AspNet.SignalR

Observe() публичный Метод

Observes the observable with the specified Component.Identity of the entity with the specified Component.Identity
public Observe ( Common.Dto.Identity registrar, Common.Dto.Identity entity, Common.Dto.Identity source, Common.Dto.Identity observable ) : void
registrar Common.Dto.Identity
entity Common.Dto.Identity The observer entity
source Common.Dto.Identity The observed entity
observable Common.Dto.Identity The observable
Результат void

Register() публичный Метод

Registers the specified Component.IEntity and ensures messages destined for the entity are routed to the specified consumer
public Register ( Common.Dto.Identity registrar, Common.Dto.Entity entity ) : void
registrar Common.Dto.Identity The host registering the entity
entity Common.Dto.Entity The entity to register
Результат void