프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_buffer | byte[] | ||
_bufferDataLength | int | ||
_bufferPosition | int | ||
_carriageReturn | bool | ||
_commandBuffer | StringBuilder | ||
_commandCounter | ulong | ||
_endPoint | |||
_socket | Socket |
메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
ProcessRequests ( ) : void |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
CheckSocket ( ) : bool |
protected AClientRequestHandler ( System.Guid clientId, Socket socket, IClacksInstrumentation instrumentation, Action |
||
clientId | System.Guid | |
socket | Socket | |
instrumentation | IClacksInstrumentation | |
removeCallback | Action |
|
리턴 | System |
protected CheckBufferTail ( int position, int length ) : void | ||
position | int | |
length | int | |
리턴 | void |
protected EndCommandRequest ( string status ) : void | ||
status | string | |
리턴 | void |
protected FailAndDispose ( string reason, |
||
reason | string | |
e | ||
리턴 | void |
protected abstract InitializeHandler ( string command ) : string | ||
command | string | |
리턴 | string |
protected ProcessCommandData ( int position, int length ) : void | ||
position | int | |
length | int | |
리턴 | void |
protected ProcessPayloadData ( int position, int length ) : void | ||
position | int | |
length | int | |
리턴 | void |
protected abstract Receive ( int>.Action |
||
continuation | int>.Action | |
리턴 | void |