StartUpServer:
PROC [controllerName: Rope.
ROPE ←
NIL, remoteCommandDirectory: Rope.
ROPE ←
NIL, localCommandDirectory: Rope.
ROPE ←
NIL]
RETURNS [msg: Rope
.ROPE ←
NIL] ;
Start up a server under the controller specified by "controllerName". If "controllerName" is NIL, use the name from the profile entry for Summoner.ControllerName. If that is NIL, use "PaloAlto.summoner". "remoteCommandDirectory" is the directory on a file server where the packages reside. If NIL, it is taken from the profile entry for Summoner.RemoteCommandDirectory. If that is also NIL, "<Summoner>Packages>" on the system host is used. "localCommandDirectory" specifies the directory on the workstation to be used for file storage. If "localCommandDirectory" is NIL, use the name from the profile entry for Summoner.LocalCommandDirectory. If that is NIL, use "///Summoner/Packages/".
Register:
PROC
[key: Rope.
ROPE, version: Rope.
ROPE ←
NIL, proc: Commander.CommandProc, doc: Rope.
ROPE ←
NIL, clientData:
REF
ANY ←
NIL];
A bcd file when it is run must call Register to register the existence of a command. The commands registered must include all commands in the .remoteCommands file for the package. This is identical to the Register PROC in the ComputeServerServer interface. In fact, the other Register simply calls this one when the Server code is running on the workstation. The ComputeServerServer interface is assumed to always be available, and is used for user interfaces where the user may or may not want to use the Compute Server. This interface is to be used when the client "knows" that the Compute Server is in use.