C# Class Bebbs.Harmonize.With.Messaging.Via.SignalR.Service.HarmonizeHub

Inheritance: Hub
Afficher le fichier Open project: ibebbs/Harmonize

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Process ( string connectionId, Common.Dto.Identity registrar, Common.Dto.Identity entity, Common.Dto.Message message ) : void

Method Details

Deregister() public méthode

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
Résultat void

HarmonizeHub() public méthode

public HarmonizeHub ( IHarmonizeConnector connector ) : Microsoft.AspNet.SignalR
connector IHarmonizeConnector
Résultat Microsoft.AspNet.SignalR

Observe() public méthode

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
Résultat void

Register() public méthode

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
Résultat void