C# Class MindTouch.Clacks.Server.Async.AsyncCommandRepository

Inheritance: IAsyncCommandDispatcher
Afficher le fichier Open project: MindTouch/MindTouch.Clacks Class Usage Examples

Méthodes publiques

Méthode Description
AddCommand ( string command, Action>.Action handler, DataExpectation dataExpectation ) : void
AddCommand ( string command, Action handler, DataExpectation dataExpectation ) : void
Default ( Action handler ) : void
Disconnect ( string command, Action handler ) : void
Error ( Action handler ) : void
GetHandler ( IPEndPoint client, string commandArgs ) : IAsyncCommandHandler

Private Methods

Méthode Description
BuildDisconnectHandler ( ) : IAsyncCommandHandler

Method Details

AddCommand() public méthode

public AddCommand ( string command, Action>.Action handler, DataExpectation dataExpectation ) : void
command string
handler Action>.Action
dataExpectation DataExpectation
Résultat void

AddCommand() public méthode

public AddCommand ( string command, Action handler, DataExpectation dataExpectation ) : void
command string
handler Action
dataExpectation DataExpectation
Résultat void

Default() public méthode

public Default ( Action handler ) : void
handler Action
Résultat void

Disconnect() public méthode

public Disconnect ( string command, Action handler ) : void
command string
handler Action
Résultat void

Error() public méthode

public Error ( Action handler ) : void
handler Action
Résultat void

GetHandler() public méthode

public GetHandler ( IPEndPoint client, string commandArgs ) : IAsyncCommandHandler
client System.Net.IPEndPoint
commandArgs string
Résultat IAsyncCommandHandler