ICMessageSynchronizationPolicy

Describes the extent of message synchronization that should occur. A synchronization policy is a combination of mode and limit attributes that describe whether no, limited or full synchronization should occur.

setMode

Sets the mode of synchronization, either None, Limited or Full.

  Syntax: void setMode(ICMessageSynchronizationMode mode)

Parameters

ParameterTypeDescription
modeICMessageSynchronizationModeA valid mode setting of None, Limited or Full.

setLimits

Sets the maximum number of threads, and a maximum number of messages per thread, which will be synchronized. Limits only apply when the synchronization mode is set to Limited.

  Syntax: void setLimits(int maxThreads, int maxMessagesPerThread)

Parameters

ParameterTypeDescription
maxThreadsintThe maximum number of threads that will be synchronized
maxMessagesPerThreadintThe maximum number of messages per thread that will be synchronized