C# Class SmartboyDevelopments.SimplePubSub.SynchronousMediator

Inheritance: IMediator
ファイルを表示 Open project: smartboyathome/Haxxit

Public Methods

Method 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

Method Description
DefaultChannelValue ( string key ) : List
DefaultPatternValue ( string key ) : List

Method Details

Notify() public method

public Notify ( string channel, object sender, EventArgs args ) : void
channel string
sender object
args System.EventArgs
return void

PatternNotify() public method

public PatternNotify ( string channel_pattern, object sender, EventArgs args ) : void
channel_pattern string
sender object
args System.EventArgs
return void

PatternSubscribe() public method

public PatternSubscribe ( string channel_pattern, SubscribableListener del ) : void
channel_pattern string
del SubscribableListener
return void

PatternUnsubscribe() public method

public PatternUnsubscribe ( string channel_pattern, SubscribableListener del ) : void
channel_pattern string
del SubscribableListener
return void

Subscribe() public method

public Subscribe ( string channel, SubscribableListener del ) : bool
channel string
del SubscribableListener
return bool

SynchronousMediator() public method

public SynchronousMediator ( ) : System
return System

Unsubscribe() public method

public Unsubscribe ( string channel, SubscribableListener del ) : bool
channel string
del SubscribableListener
return bool