RunPack
(RPC Manager Library)
Description: | Unpacks and executes a set of RPCs from a stream constructed with PackRPC. |
Returns: | Text |
Usage: | Script Only. (Subroutine call only) |
Function Groups: | Advanced Module, Network, Stream and Socket |
Related to: | PackRPC |
Format: | \RPCManager\RunPack(Stream [, Service]); |
Parameters: |
Stream |
Required. A packed RPC stream obtained from one or more PackRPC method calls. |
Service |
The name of the service to be used to determine root scope for the RPCs within Stream. Invalid for non-service RPCs. If valid, the RPC subroutines specified in the package will be searched for starting in the scope of the service instance of the machine on which the RunPack() RPC is executing. |
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. |