C# Class SmartboyDevelopments.SimplePubSub.MediatorManager

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

Public Methods

Method Description
MediatorManager ( SubscribableManager subscribable_manager ) : System
MediatorManager ( SubscribableManager subscribable_manager, NotifiableManager notifiable_manager ) : System
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
Unsubscribe ( string channel, SubscribableListener del ) : bool

Method Details

MediatorManager() public method

public MediatorManager ( SubscribableManager subscribable_manager ) : System
subscribable_manager SubscribableManager
return System

MediatorManager() public method

public MediatorManager ( SubscribableManager subscribable_manager, NotifiableManager notifiable_manager ) : System
subscribable_manager SubscribableManager
notifiable_manager NotifiableManager
return System

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

Unsubscribe() public method

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