Interface IRequestsHandler
Object to proceed requests sent to IPC server
Assembly: CAMIPC.IpcInteraction.dll
Syntax
[Guid("A100D337-8553-4D5A-9232-E5BF258744A8")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRequestsHandler
Properties
ExecutingCommandsCount
Count of executing commands right now
Declaration
int ExecutingCommandsCount { get; }
Property Value
ProceedHelper
Object, which methods should be called, when requests handler proceed request
Declaration
IRequestsHandlerProceedHelper ProceedHelper { get; set; }
Property Value
Methods
ProceedRequest(IRequestJsonParser, out string, out string, out TResultStatus)
Declaration
void ProceedRequest(IRequestJsonParser request, out string ValueResult, out string ValueError, out TResultStatus ResultStatus)
Parameters
RegisterClient(string, int, out TResultStatus)
Declaration
void RegisterClient(string ClientIdent, int AnswersPort, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
string |
ClientIdent |
|
int |
AnswersPort |
|
TResultStatus |
ResultStatus |
|
RegisterWorkingThread(int, IRequestsCommandExecutor, out TResultStatus)
Declaration
void RegisterWorkingThread(int ThreadHandle, IRequestsCommandExecutor Executor, out TResultStatus ResultStatus)
Parameters
UnregisterClient(string, out TResultStatus)
Declaration
void UnregisterClient(string ClientIdent, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
string |
ClientIdent |
|
TResultStatus |
ResultStatus |
|
UnregisterWorkingThread(int, out TResultStatus)
Declaration
void UnregisterWorkingThread(int ThreadHandle, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
int |
ThreadHandle |
|
TResultStatus |
ResultStatus |
|
UpdateWorkingThread(int, IRequestsCommandExecutor, out TResultStatus)
Declaration
void UpdateWorkingThread(int ThreadHandle, IRequestsCommandExecutor Executor, out TResultStatus ResultStatus)
Parameters