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

Inheritance: AClientRequestHandler
Show file Open project: MindTouch/MindTouch.Clacks

Public Methods

Method Description
ProcessRequests ( ) : void
SyncClientHandler ( System.Guid clientId, Socket socket, ISyncCommandDispatcher dispatcher, IClacksInstrumentation instrumentation, Action removeCallback ) : System

Protected Methods

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

Method Details

CompleteRequest() protected method

protected CompleteRequest ( ) : void
return void

InitializeHandler() protected method

protected InitializeHandler ( string command ) : string
command string
return string

ProcessCommand() protected method

protected ProcessCommand ( ) : void
return void

ProcessRequests() public method

public ProcessRequests ( ) : void
return void

Receive() protected method

protected Receive ( int>.Action continuation ) : void
continuation int>.Action
return void

SendResponse() protected method

protected SendResponse ( ) : void
return void

SyncClientHandler() public method

public SyncClientHandler ( System.Guid clientId, Socket socket, ISyncCommandDispatcher dispatcher, IClacksInstrumentation instrumentation, Action removeCallback ) : System
clientId System.Guid
socket System.Net.Sockets.Socket
dispatcher ISyncCommandDispatcher
instrumentation IClacksInstrumentation
removeCallback Action
return System