C# Class SipSharp.Client.MethodHandlers

Used to keep track of which handlers want to get which method.
显示文件 Open project: jgauffin/SipSharp

Public Methods

Method Description
Invoke ( string method, string source, RequestEventArgs args ) : bool
Register ( string method, EventHandler handler ) : void
Remove ( string method, EventHandler handler ) : void

Private Methods

Method Description
GetList ( string method ) : List>
GetListOrCreateIt ( string method ) : List>

Method Details

Invoke() public method

public Invoke ( string method, string source, RequestEventArgs args ) : bool
method string
source string
args RequestEventArgs
return bool

Register() public method

public Register ( string method, EventHandler handler ) : void
method string
handler EventHandler
return void

Remove() public method

public Remove ( string method, EventHandler handler ) : void
method string
handler EventHandler
return void