methodTsnicClassClient.SubscribeMediator
function SubscribeMediator(const aQualifiedClassName: string; const aOwner : string; const aIID : PTypeInfo; out aObj; const aRole : string) : Boolean;
Attaches to an EXISTING shared "mediator" instance on the server rather than creating a new one, returning a proxy typed as aIID. aOwner names the object to join - depending on the class it is a connection/session/user identifier (in the Mediator demo: the connection name for via-session sharing, else the session identifier). Use this so several clients (e.g. an owner and its colleagues) collaborate on the same server-side object; the server enforces owner-only operations, so a non-owner attaching still gets denied on privileged calls. aRole selects the server-side role. Otherwise behaves like MakeInstance (stream args, interface-arg callbacks).