SetDivert

(RPC Manager Library)

Description: Informs RPC Manager that the synchronization state of a service has been sampled during synchronization, and service RPCs for the specified client should be buffered until synchronization completes. Subroutine call only.
Returns: Nothing
Usage: Script Only.
Function Groups: Network
Related to: GetClientDiverts
Format: \RPCManager\SetDivert(Service, IP [, OptGUID]);
Parameters:  
Service
Required. The name by which the service is known.
IP
Required. An IP by which the synchronizing client is known.
OptGUID
An optional GUID of the application in which the service instance is located. The default is the application to which the caller belongs.
Comments: This subroutine is a member of the RPC Manager's Library, and must therefore be prefaced by \RPCManager\, as shown in the "Format" section. If the application you are developing is a script application, the subroutine call must be prefaced by System\RPCManager\, and the System variable must be declared in AppRoot.src.
This subroutine is only called by the service instance that is server during synchronization.