-- Copyright (C) 1985 by Xerox Corporation. All rights reserved. -- Stub file was translated on May 2, 1985 4:16:16 pm PDT by Lupine of March 15, 1985 2:49:13 pm PST -- Source interface ComputeServerDebugger came from file ComputeServerDebugger.bcd, which was created on May 2, 1985 4:16:15 pm PDT with version stamp 37#164#6434657572 from source of October 3, 1984 11:19:36 am PDT. -- The RPC stub modules for ComputeServerDebugger are: -- ComputeServerDebuggerRpcControl.mesa; -- ComputeServerDebuggerRpcClientImpl.mesa; -- ComputeServerDebuggerRpcBinderImpl.mesa; -- ComputeServerDebuggerRpcServerImpl.mesa. -- The parameters for this translation are: -- Target language = Cedar -- Default parameter passing = VALUE -- Deallocate server heap arguments = TRUE -- Inline RpcServerImpl dispatcher stubs = TRUE -- Declare signals = TRUE -- Warn about short POINTER ("MDS") allocations = TRUE -- Maximum number of dynamic heap NEWs = 50, MDS NEWs = 50 -- Acceptable parameter protocols = VersionRange[1..1]. DIRECTORY PupDefs, Rope, ComputeServerDebugger, RPC USING [defaultInterfaceName, EncryptionKey, InterfaceName, Principal, standardZones, VersionRange, Zones], RPCLupine USING [ImportHandle]; ComputeServerDebuggerRpcControl: DEFINITIONS SHARES ComputeServerDebugger = BEGIN OPEN ComputeServerDebugger, RpcPublic: RPC, RpcPrivate: RPCLupine; -- Public RPC types and constants. InterfaceName: TYPE = RpcPublic.InterfaceName; VersionRange: TYPE = RpcPublic.VersionRange; Principal: TYPE = RpcPublic.Principal; EncryptionKey: TYPE = RpcPublic.EncryptionKey; Zones: TYPE = RpcPublic.Zones; defaultInterfaceName: InterfaceName = RpcPublic.defaultInterfaceName; standardZones: Zones = RpcPublic.standardZones; -- Standard remote binding routines. ImportInterface: SAFE PROCEDURE [ interface: InterfaceRecord, interfaceName: InterfaceName ← defaultInterfaceName, parameterStorage: Zones ← standardZones ]; ExportInterface: SAFE PROCEDURE [ interfaceName: InterfaceName ← defaultInterfaceName, user: Principal, password: EncryptionKey, parameterStorage: Zones ← standardZones ]; UnexportInterface: SAFE PROCEDURE; -- Dynamic instantiation and binding. ImportNewInterface: SAFE PROCEDURE [ interfaceName: InterfaceName ← defaultInterfaceName, parameterStorage: Zones ← standardZones ] RETURNS [interfaceRecord: InterfaceRecord]; -- NewInterfaceRecord is necessary for Cedar clients who want to -- manufacture a private interface instance, because -- RpcBindingImpl has finalization on type InterfaceRecord. NewInterfaceRecord: SAFE PROCEDURE RETURNS [interfaceRecord: InterfaceRecord]; InterfaceRecord: TYPE = REF InterfaceRecordObject; InterfaceRecordObject: TYPE = RECORD [ myInterface: RpcPrivate.ImportHandle ← NIL, paramZones: RpcPublic.Zones ← RpcPublic.standardZones, clientStubOpenDebugStream: SAFE PROCEDURE [interface: InterfaceRecord, listenerPupAddress: PupDefs.PupAddress, newListenerPupAddress: PupDefs.PupAddress, name: Rope.ROPE, serverMachine: Rope.ROPE] RETURNS [byteStreamOK: BOOL], clientStubOpenSourceViewer: SAFE PROCEDURE [interface: InterfaceRecord, listenerPupAddress: PupDefs.PupAddress, name: Rope.ROPE, index: INT], bound: BOOL ← FALSE]; OpenDebugStream: SAFE PROCEDURE [interface: InterfaceRecord, listenerPupAddress: PupDefs.PupAddress, newListenerPupAddress: PupDefs.PupAddress, name: Rope.ROPE, serverMachine: Rope.ROPE] RETURNS [byteStreamOK: BOOL] = CHECKED INLINE { RETURN interface.clientStubOpenDebugStream[interface, listenerPupAddress, newListenerPupAddress, name, serverMachine]}; OpenSourceViewer: SAFE PROCEDURE [interface: InterfaceRecord, listenerPupAddress: PupDefs.PupAddress, name: Rope.ROPE, index: INT] = CHECKED INLINE { interface.clientStubOpenSourceViewer[interface, listenerPupAddress, name, index]}; -- Definitions for the stubs. LupineProtocolVersion: PUBLIC VersionRange = [first: 1, last: 1]; InterMdsCallsOnly: PUBLIC BOOLEAN = FALSE; ProcedureIndex: PRIVATE TYPE = MACHINE DEPENDENT { LupineUnusedIndex (0), LupineLastIndex (3), OpenDebugStream (4), OpenSourceViewer (5)}; SignalIndex: PRIVATE TYPE = MACHINE DEPENDENT { LupineUnusedIndex (0), LupineLastIndex (3)}; END. -- ComputeServerDebuggerRpcControl.