FSPseudoServers.mesa
Copyright Ó 1984, 1985, 1986, 1991 by Xerox Corporation. All rights reserved.
Russ Atkinson, February 4, 1985 4:55:18 pm PST
JKF October 26, 1988 1:44:32 pm PDT
DIRECTORY
Rope USING [ROPE];
FSPseudoServers: CEDAR DEFINITIONS = BEGIN
ROPE: TYPE = Rope.ROPE;
PseudoServerList: TYPE = LIST OF PseudoServerRep;
PseudoServerRep: TYPE = RECORD [
server: ROPE,
avoidCheck: BOOL,
write: ROPE,
read: LIST OF ROPE];
Note: all server names must be given without brackets both as arguments and as elements of a PseudoServerList.
TranslateForRead: PROC [server: ROPE] RETURNS [LIST OF ROPE];
Translates the server name into the server names specified for reading. If no such translation is present, returns a list containing the original server name.
Lookup: PROC [server: ROPE] RETURNS [PseudoServerList];
... returns the PseudoServerList for the given name (NIL if no such translation).
END.