C# Class SmartboyDevelopments.SimplePubSub.SynchronousMediator

Inheritance: IMediator
Afficher le fichier Open project: smartboyathome/Haxxit

Méthodes publiques

Méthode Description
Notify ( string channel, object sender, EventArgs args ) : void
PatternNotify ( string channel_pattern, object sender, EventArgs args ) : void
PatternSubscribe ( string channel_pattern, SubscribableListener del ) : void
PatternUnsubscribe ( string channel_pattern, SubscribableListener del ) : void
Subscribe ( string channel, SubscribableListener del ) : bool
SynchronousMediator ( ) : System
Unsubscribe ( string channel, SubscribableListener del ) : bool

Private Methods

Méthode Description
DefaultChannelValue ( string key ) : List
DefaultPatternValue ( string key ) : List

Method Details

Notify() public méthode

public Notify ( string channel, object sender, EventArgs args ) : void
channel string
sender object
args System.EventArgs
Résultat void

PatternNotify() public méthode

public PatternNotify ( string channel_pattern, object sender, EventArgs args ) : void
channel_pattern string
sender object
args System.EventArgs
Résultat void

PatternSubscribe() public méthode

public PatternSubscribe ( string channel_pattern, SubscribableListener del ) : void
channel_pattern string
del SubscribableListener
Résultat void

PatternUnsubscribe() public méthode

public PatternUnsubscribe ( string channel_pattern, SubscribableListener del ) : void
channel_pattern string
del SubscribableListener
Résultat void

Subscribe() public méthode

public Subscribe ( string channel, SubscribableListener del ) : bool
channel string
del SubscribableListener
Résultat bool

SynchronousMediator() public méthode

public SynchronousMediator ( ) : System
Résultat System

Unsubscribe() public méthode

public Unsubscribe ( string channel, SubscribableListener del ) : bool
channel string
del SubscribableListener
Résultat bool