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

Inheritance: IAsyncCommandHandler
Datei anzeigen Open project: MindTouch/MindTouch.Clacks

Public Methods

Method Description
AcceptData ( byte chunk ) : void
AsyncSingleCommandHandler ( IPEndPoint client, string command, string arguments, int dataLength, Action handler, Action errorHandler ) : System
DisconnectHandler ( string command, Action handler ) : IAsyncCommandHandler
Dispose ( ) : void
GetResponse ( Action>.Action responseCallback ) : void

Private Methods

Method Description
AsyncSingleCommandHandler ( string command, Action handler ) : System

Method Details

AcceptData() public method

public AcceptData ( byte chunk ) : void
chunk byte
return void

AsyncSingleCommandHandler() public method

public AsyncSingleCommandHandler ( IPEndPoint client, string command, string arguments, int dataLength, Action handler, Action errorHandler ) : System
client System.Net.IPEndPoint
command string
arguments string
dataLength int
handler Action
errorHandler Action
return System

DisconnectHandler() public static method

public static DisconnectHandler ( string command, Action handler ) : IAsyncCommandHandler
command string
handler Action
return IAsyncCommandHandler

Dispose() public method

public Dispose ( ) : void
return void

GetResponse() public method

public GetResponse ( Action>.Action responseCallback ) : void
responseCallback Action>.Action
return void