ComputeClientExtras.mesa
The Compute Client interface. This interface is between the Client (the rest of the Cedar world) and the Client code for the Summoner on the workstation, and thus is not an RPC interface. It is a variant of the ComputeServerClient.mesa interface, but is faster since it avoids one level of procedure call.
Extras interface to add serverName to StartService
Last Edited by: Bob Hagmann, October 23, 1985 10:19:39 am PDT
Copyright © 1985 by Xerox Corporation. All rights reserved.
DIRECTORY
ComputeServerClient,
IO,
Rope;
ComputeClientExtras: CEDAR DEFINITIONS =
BEGIN
ROPE: TYPE = Rope.ROPE;
StartServiceExtra: PROC [service: ROPE, version: ROPENIL, cmdLine: ROPE, in, out: IO.STREAM, queueService: BOOLFALSE, timeToWait: INT ← 3600, retries: NAT ← 3, serverName: ROPENIL] RETURNS [found: BOOL, success: ComputeServerClient.RemoteSuccess, remoteMsg: ROPE, serverInstance: ROPE];
Identical to ComputeServerClient.StartService, except that the serverName argument is added.
If "serverName" is non-NIL, then the server is contracted directly, bypassing the Controller. Servers may be specified by their name (e.g., "Bataan") or by their network address (e.g., "3#277#").
END.