C# Class Codebreak.Service.World.Network.MessageDispatcher

Inheritance: Codebreak.Framework.Generic.Updatable
Show file Open project: hussein-aitlahcen/codebreak Class Usage Examples

Public Methods

Method Description
AddHandler ( Action method ) : void

Dispatch ( string message ) : void

Dispose ( ) : void

RemoveHandler ( Action method ) : void

SafeAddHandler ( Action method ) : void

SafeDispatch ( string message ) : void

SafeRemoveHandler ( Action method ) : void

Method Details

AddHandler() public method

public AddHandler ( Action method ) : void
method Action
return void

Dispatch() public method

public Dispatch ( string message ) : void
message string
return void

Dispose() public method

public Dispose ( ) : void
return void

RemoveHandler() public method

public RemoveHandler ( Action method ) : void
method Action
return void

SafeAddHandler() public method

public SafeAddHandler ( Action method ) : void
method Action
return void

SafeDispatch() public method

public SafeDispatch ( string message ) : void
message string
return void

SafeRemoveHandler() public method

public SafeRemoveHandler ( Action method ) : void
method Action
return void