Last Update: 9/26/2016

Defined in vss.d.ts

Interface for a single XDM channel


  • invokeRemoteMethod: (methodName: string, instanceId: string, params: any[], instanceContextData: Object): IPromise<T>. Invoke a method via RPC. Lookup the registered object on the remote end of the channel and invoke the specified method.

  • getRemoteObjectProxy: (instanceId: string, contextData: Object): IPromise<T>. Get a proxied object that represents the object registered with the given instance ID on the remote side of this channel.

  • getObjectRegistry: (): IXDMObjectRegistry. Get the object registry to handle messages from this specific channel. Upon receiving a message, this channel registry will be used first, then the global registry will be used if no handler is found here.