SunPMapClient.mesa
Copyright Ó 1991 by Xerox Corporation. All rights reserved.
Demers, September 7, 1987 11:55:38 am PDT
DIRECTORY
ArpaUDP USING [Address],
SunPMap USING [DumpProc, GetPortProc, NullProc, SetProc, UnsetProc],
SunRPC USING [Handle],
SunRPCAuth USING [Conversation]
;
SunPMapClient: CEDAR DEFINITIONS
~ {
Procedures
Null: SunPMap.NullProc;
Set: SunPMap.SetProc;
Unset: SunPMap.UnsetProc;
GetPort: SunPMap.GetPortProc;
Dump: SunPMap.DumpProc;
Callit: -- SunPMap.CallitProc -- PROC [
h: SunRPC.Handle, c: SunRPCAuth.Conversation,
program, version, proc: CARD32,
args: REF TEXT,
timeout: CARD32]
RETURNS [port: CARD32, result: REF TEXT];
Broadcast
First set the remote address of the handle to broadcast on the desired network.
ProcessResultProc: TYPE ~ PROC [address: ArpaUDP.Address, port: CARD32, result: REF TEXT]
RETURNS [quit: BOOL];
CallWithMultipleReplies: PROC [
h: SunRPC.Handle, c: SunRPCAuth.Conversation,
program, version, proc: CARD32,
args: REF TEXT,
processResult: ProcessResultProc,
timeout: CARD32];
}...