Sets the JSON formatted configuration for the communication layer.
The expected string is json formatted (see
www.json.org). These are the available options and their defaults:
{
"BinaryAllowed":true,
"SlaveUnregisterTimeout":1000,
"JSONAllowed":true,
"ForwardBufferSize":1048576,
"TCPAllowed":true,
"SocketBufferSize":262144,
"ConnectTimeout":30000,
"InvocationTimeout":10000,
"DispatcherThreads":3,
"BinaryPacketBufferSize":16384,
"SlaveRegisterTimeout":1000,
"HeartbeatPollDelay":30000,
"SSLAllowed":true,
"HeartbeatInvokeTimeout":1000
}We won't explain what all these options imply here; if you need any help altering this configuration, please consult Paragon Decision Technology.
virtual void setCommunicationConfig(const char* CommunicationConfig) = 0;
|
Parameters |
Description |
|
const char* CommunicationConfig |
The json formatted configuration. |