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

Parameter

Type

Description

mode

ICMessageSynchronizationMode

A 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

Parameter

Type

Description

maxThreads

int

The maximum number of threads that will be synchronized

maxMessagesPerThread

int

The maximum number of messages per thread that will be synchronized