Property | Type | Description | |
---|---|---|---|
_buffer | byte[] | ||
_bufferDataLength | int | ||
_bufferPosition | int | ||
_carriageReturn | bool | ||
_commandBuffer | StringBuilder | ||
_commandCounter | ulong | ||
_endPoint | |||
_socket | Socket |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
ProcessRequests ( ) : void |
Method | Description | |
---|---|---|
AClientRequestHandler ( System.Guid clientId, Socket socket, IClacksInstrumentation instrumentation, Action |
||
CheckBufferTail ( int position, int length ) : void | ||
CompleteRequest ( ) : void | ||
EndCommandRequest ( string status ) : void | ||
FailAndDispose ( string reason, |
||
InitializeHandler ( string command ) : string | ||
PrepareResponse ( string status ) : void | ||
ProcessCommand ( ) : void |
13/14. -> Calls StartCommandRequest
|
|
ProcessCommandData ( int position, int length ) : void | ||
ProcessPayloadData ( int position, int length ) : void | ||
Receive ( int>.Action |
||
SendResponse ( ) : void | ||
StartCommandRequest ( ) : void |
Method | Description | |
---|---|---|
CheckSocket ( ) : bool |
protected AClientRequestHandler ( System.Guid clientId, Socket socket, IClacksInstrumentation instrumentation, Action |
||
clientId | System.Guid | |
socket | Socket | |
instrumentation | IClacksInstrumentation | |
removeCallback | Action |
|
return | System |
protected CheckBufferTail ( int position, int length ) : void | ||
position | int | |
length | int | |
return | void |
protected abstract CompleteRequest ( ) : void | ||
return | void |
protected EndCommandRequest ( string status ) : void | ||
status | string | |
return | void |
protected FailAndDispose ( string reason, |
||
reason | string | |
e | ||
return | void |
protected abstract InitializeHandler ( string command ) : string | ||
command | string | |
return | string |
protected PrepareResponse ( string status ) : void | ||
status | string | |
return | void |
protected ProcessCommandData ( int position, int length ) : void | ||
position | int | |
length | int | |
return | void |
protected ProcessPayloadData ( int position, int length ) : void | ||
position | int | |
length | int | |
return | void |
protected abstract Receive ( int>.Action |
||
continuation | int>.Action | |
return | void |