Interface IRequestJsonParser
Assembly: CAMIPC.IpcInteraction.dll
Syntax
[Guid("9880F1CC-27FA-4BFF-818A-44F88198CAB4")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRequestJsonParser
Properties
Id
Value provided in node ID. -1 equals null value
Declaration
Property Value
InstanceId
Value provided in node instance_id. Method will be called for this instance
Declaration
string InstanceId { get; }
Property Value
Method
Value provided in node method
Declaration
Property Value
Params
Value provided in node params
Declaration
Property Value
SenderIdent
Identifier of client, who send this message
Declaration
string SenderIdent { get; }
Property Value
TargetPid
PID of the process this request is addressed to, 0 when the client did
not name one. A peer is addressed by a port read from a file, and a port
outlives the process that owned it — naming the process is what keeps a
request from silently executing in a different one
Declaration
Property Value
ThreadHandle
Identifier of thread, which should run command if it is async
Declaration
int ThreadHandle { get; }
Property Value
ValueMethod
Declaration
string ValueMethod { get; }
Property Value
ValueMethodIsAsync
Method should be called in async mode
Declaration
bool ValueMethodIsAsync { get; }
Property Value
Methods
Clear()
Declaration
GetString(out TResultStatus)
Declaration
string GetString(out TResultStatus ResultStatus)
Parameters
Returns
ReadString(string)
Parse input string and fill self values
Declaration
TResultStatus ReadString(string inputString)
Parameters
| Type |
Name |
Description |
| string |
inputString |
|
Returns
SetId(int)
Declaration
Parameters
| Type |
Name |
Description |
| int |
Id |
|
SetInstanceId(string)
Set value provided in node instance_id. Method will be called for this instance
Declaration
void SetInstanceId(string InstanceId)
Parameters
| Type |
Name |
Description |
| string |
InstanceId |
|
SetMethod(string)
Set value provided in node method
Declaration
void SetMethod(string Method)
Parameters
| Type |
Name |
Description |
| string |
Method |
|
SetParams(string)
Set value provided in node params
Declaration
void SetParams(string Params)
Parameters
| Type |
Name |
Description |
| string |
Params |
|
SetSenderIdent(string)
Set identifier of client, who send this message
Declaration
void SetSenderIdent(string SenderIdent)
Parameters
| Type |
Name |
Description |
| string |
SenderIdent |
|
SetTargetPid(int)
Declaration
void SetTargetPid(int TargetPid)
Parameters
| Type |
Name |
Description |
| int |
TargetPid |
|
SetThreadHandle(int)
Declaration
void SetThreadHandle(int ThreadHandle)
Parameters
| Type |
Name |
Description |
| int |
ThreadHandle |
|