-- Copyright (C) 1986 by Xerox Corporation. All rights reserved. -- Stub file was translated on June 2, 1986 8:28:59 am PDT by Lupine of February 22, 1986 5:15:54 pm PST -- Source interface ThParty came from file ThParty.bcd, which was created on June 2, 1986 8:28:52 am PDT with version stamp 112#234#6230400436 from source of June 2, 1986 8:28:42 am PDT. -- The RPC stub modules for ThParty are: -- ThPartyRpcControl.mesa; -- ThPartyRpcClientImpl.mesa; -- ThPartyRpcBinderImpl.mesa; -- ThPartyRpcServerImpl.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 BasicTime, IV, RefID, RPC, Thrush, ThSmartsRpcControl, ThParty, RPCLupineExtras USING [RPCHost, noHost]; ThPartyRpcControl: DEFINITIONS SHARES ThParty = BEGIN OPEN ThParty, RpcPublic: RPC, RpcPrivateExtras: RPCLupineExtras; -- 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 [ interfaceName: InterfaceName ← defaultInterfaceName, parameterStorage: Zones ← standardZones, hostHint: RpcPrivateExtras.RPCHost←RpcPrivateExtras.noHost]; UnimportInterface: PROCEDURE; 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, hostHint: RpcPrivateExtras.RPCHost←RpcPrivateExtras.noHost] 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 [ CreateConversation: SAFE PROCEDURE [shhh: SHHH, credentials: Credentials, state: Thrush.StateInConv, urgency: Thrush.CallUrgency, alertKind: Thrush.AlertKind, reason: Thrush.Reason, comment: ROPE, subject: Thrush.ROPE] RETURNS [nb: NB, convEvent: Thrush.ConvEvent], Alert: SAFE PROCEDURE [shhh: SHHH, credentials: Credentials, calledPartyID: PartyID, comment: ROPE] RETURNS [nb: NB], Advance: SAFE PROCEDURE [shhh: SHHH, credentials: Credentials, state: Thrush.StateInConv, reportToAll: BOOL, reason: Thrush.Reason, comment: ROPE] RETURNS [nb: NB, convEvent: Thrush.ConvEvent], ReportAction: SAFE PROCEDURE [shhh: SHHH, report: Thrush.ActionReport, reportToAll: BOOL] RETURNS [nb: NB], GetConversationInfo: SAFE PROCEDURE [shh: SHHH, convID: ConversationID] RETURNS [nb: NB, cInfo: ConversationInfo], GetPartyInfo: SAFE PROCEDURE [shh: SHHH, credentials: Credentials, nameReq: NameReq, allParties: BOOL] RETURNS [nb: NB, pInfo: PartyInfo], GetKeyTable: SAFE PROCEDURE [shh: SHHH, credentials: Credentials] RETURNS [nb: NB, keyTable: Thrush.KeyTable], DescribeParty: SAFE PROCEDURE [partyID: Thrush.PartyID, nameReq: NameReq] RETURNS [nb: NB, description: Thrush.ROPE], RegisterServiceInterface: SAFE PROCEDURE [shhh: SHHH, credentials: Credentials, interfaceSpecPattern: Thrush.InterfaceSpec] RETURNS [nb: NB, interfaceSpec: Thrush.InterfaceSpec], LookupServiceInterface: SAFE PROCEDURE [shhh: SHHH, credentials: Credentials, serviceParty: PartyID, type: RPC.ShortROPE] RETURNS [nb: NB, interfaceSpec: Thrush.InterfaceSpec], RegisterKey: SAFE PROCEDURE [shh: SHHH, credentials: Credentials, key: Thrush.EncryptionKey] RETURNS [nb: NB, keyIndex: [0..15]], GetParty: SAFE PROCEDURE [shh: SHHH, partyID: PartyID, rName: ROPE, type: Thrush.PartyType] RETURNS [nb: NB, newPartyID: PartyID], GetPartyFromNumber: SAFE PROCEDURE [shh: SHHH, partyID: PartyID, phoneNumber: Thrush.ROPE, description: ROPE] RETURNS [nb: NB, newPartyID: PartyID], GetPartyFromFeepNum: SAFE PROCEDURE [shh: SHHH, partyID: PartyID, feepNum: Thrush.ROPE] RETURNS [nb: NB, newPartyID: PartyID], GetCurrentParty: SAFE PROCEDURE [shh: SHHH, smartsID: SmartsID] RETURNS [nb: NB, partyID: Thrush.PartyID], GetNumbersForRName: SAFE PROCEDURE [shh: SHHH, rName: ROPE] RETURNS [fullRName: ROPE, number: ROPE, homeNumber: ROPE], Register: SAFE PROCEDURE [shh: SHHH, rName: ROPE, type: Thrush.PartyType, clonePartyID: PartyID, interface: SmartsInterfaceName, properties: SmartsProperties] RETURNS [nb: NB, credentials: Credentials], CheckIn: SAFE PROCEDURE [shh: SHHH, credentials: Credentials] RETURNS [nb: NB], Deregister: SAFE PROCEDURE [shh: SHHH, smartsID: SmartsID] RETURNS [nb: NB], Enable: SAFE PROCEDURE [shh: SHHH, smartsID: SmartsID] RETURNS [nb: Thrush.NB], Disable: SAFE PROCEDURE [shh: SHHH, smartsID: SmartsID] RETURNS [nb: Thrush.NB], lupineDetails: PRIVATE REF LupineDetailsObject←NIL]; LupineDetailsObject: PRIVATE TYPE; -- Definitions for the stubs. LupineProtocolVersion: PUBLIC VersionRange = [first: 1, last: 1]; InterMdsCallsOnly: PUBLIC BOOLEAN = FALSE; ProcedureIndex: PRIVATE TYPE = MACHINE DEPENDENT { LupineUnusedIndex (0), LupineLastIndex (3), CreateConversation (4), Alert (5), Advance (6), ReportAction (7), GetConversationInfo (8), GetPartyInfo (9), GetKeyTable (10), DescribeParty (11), RegisterServiceInterface (12), LookupServiceInterface (13), RegisterKey (14), GetParty (15), GetPartyFromNumber (16), GetPartyFromFeepNum (17), GetCurrentParty (18), GetNumbersForRName (19), Register (20), CheckIn (21), Deregister (22), Enable (23), Disable (24)}; SignalIndex: PRIVATE TYPE = MACHINE DEPENDENT { LupineUnusedIndex (0), LupineLastIndex (3)}; END. -- ThPartyRpcControl.