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

Inheritance: AClientRequestHandler
Afficher le fichier Open project: MindTouch/MindTouch.Clacks

Méthodes publiques

Méthode Description
AsyncClientHandler ( System.Guid clientId, Socket socket, IAsyncCommandDispatcher dispatcher, IClacksInstrumentation instrumentation, Action removeCallback ) : System
ProcessRequests ( ) : void

Méthodes protégées

Méthode Description
CompleteRequest ( ) : void
InitializeHandler ( string command ) : string
ProcessCommand ( ) : void
Receive ( int>.Action continuation ) : void
SendResponse ( ) : void

Private Methods

Méthode Description
ProcessResponse ( IResponse response, System.Action nextResponseCallback ) : void

Method Details

AsyncClientHandler() public méthode

public AsyncClientHandler ( System.Guid clientId, Socket socket, IAsyncCommandDispatcher dispatcher, IClacksInstrumentation instrumentation, Action removeCallback ) : System
clientId System.Guid
socket System.Net.Sockets.Socket
dispatcher IAsyncCommandDispatcher
instrumentation IClacksInstrumentation
removeCallback Action
Résultat System

CompleteRequest() protected méthode

protected CompleteRequest ( ) : void
Résultat void

InitializeHandler() protected méthode

protected InitializeHandler ( string command ) : string
command string
Résultat string

ProcessCommand() protected méthode

protected ProcessCommand ( ) : void
Résultat void

ProcessRequests() public méthode

public ProcessRequests ( ) : void
Résultat void

Receive() protected méthode

protected Receive ( int>.Action continuation ) : void
continuation int>.Action
Résultat void

SendResponse() protected méthode

protected SendResponse ( ) : void
Résultat void