GetServerChanges
(RPC Manager Library)
Description: | Launched by RPC Manager on a service server to obtain the service's synchronization data (i.e. called by RPC Manager during startup synchronization on a server to get the package of RPCs that create a synchronizable state on the client which is in step with the server). |
Returns: | See comments |
Usage: | Steady State only. |
Function Groups: | Network |
Related to: | Adding Server-Only Synchronization |
Format: | GetServerChanges(RevisionInfo, PackStreamRef, Client) |
Parameters: |
RevisionInfo |
Required. The revision information from the GetClientRevision call made on the synchronizing client. |
PackStreamRef |
Required. A pointer to a variable to obtain changes. |
ClientName |
Required. The name of the client. |
Comments: |
This subroutine is expected to be found in the object value of the caller of RPCManager\Register. It should not be called as "\RPCManager\GetServerChanges", but it may be appropriate to call it within the scope of the relevant service "<service scope>\GetServerChanges". GetServerChanges() should not be written as a subroutine, as it will run on the RPCManager thread, thereby suspending external machine communication during synchronization.
|