C# Class MindTouch.Clacks.Server.Sync.SyncCommandRepository

Inheritance: ISyncCommandDispatcher
Datei anzeigen Open project: MindTouch/MindTouch.Clacks Class Usage Examples

Public Methods

Method Description
AddCommand ( string command, IResponse>.Func handler, DataExpectation dataExpectation ) : void
AddCommand ( string command, Func handler, DataExpectation dataExpectation ) : void
Default ( IResponse>.Func handler ) : void
Disconnect ( string command, IResponse>.Func handler ) : void
Error ( Func handler ) : void
GetHandler ( IPEndPoint client, string commandArgs ) : ISyncCommandHandler

Private Methods

Method Description
BuildDisconnectHandler ( ) : ISyncCommandHandler

Method Details

AddCommand() public method

public AddCommand ( string command, IResponse>.Func handler, DataExpectation dataExpectation ) : void
command string
handler IResponse>.Func
dataExpectation DataExpectation
return void

AddCommand() public method

public AddCommand ( string command, Func handler, DataExpectation dataExpectation ) : void
command string
handler Func
dataExpectation DataExpectation
return void

Default() public method

public Default ( IResponse>.Func handler ) : void
handler IResponse>.Func
return void

Disconnect() public method

public Disconnect ( string command, IResponse>.Func handler ) : void
command string
handler IResponse>.Func
return void

Error() public method

public Error ( Func handler ) : void
handler Func
return void

GetHandler() public method

public GetHandler ( IPEndPoint client, string commandArgs ) : ISyncCommandHandler
client System.Net.IPEndPoint
commandArgs string
return ISyncCommandHandler