explicitInstance: Rope.ROPE;
ExportThingsWithExplicitInstance: Commander.CommandProc = {
instance: Rope.ROPE = Names.CmdOrToken[cmd: cmd, key: "ThrushServerInstance", default: "Morley.Lark"];
thVR: RPC.VersionRange = ThVersions.ThrushVR;
IF explicitlyExported THEN RETURN;
explicitInstance ← NamesGV.GVGetAttribute[
rName: instance, attribute: $connect, default: NIL];
IF explicitInstance=
NIL
THEN {
[]←Log.Problem["Trouble in ExportExplicitInstances",$System]; RETURN; };
ExportOneOther["ThParty.Lark", thVR, ThPartyRpcServerImpl.ServerDispatcher];
Log.Report["ExportExplicitInstances[]", $System];
explicitlyExported ← TRUE;
};
ExportOneOther:
PROC[interfaceType: Rope.
ROPE, version:
RPC.VersionRange, dispatcher: RPCLupine.Dispatcher] =
TRUSTED {
[]←RPCBinding.AddToExportTable[[interfaceType, explicitInstance, version], dispatcher, stubProtocol];
};