RpcManager Class

RPC interface management is concerned with coordination of access and configuration for RPC interfaces.

Extended by

Methods

Name Description
describeAvailableEndpoints(): Promise<RpcInterfaceEndpoints[]> Static Describes the RPC interfaces and endpoints that are currently available from the backend.  
getClientForInterface<T extends RpcInterface>(definition: RpcInterfaceDefinition<T extends RpcInterface>): T extends RpcInterface Static Returns the RPC client instance for the frontend.  
initializeInterface<T extends RpcInterface>(definition: RpcInterfaceDefinition<T extends RpcInterface>): void Static Initializes an RPC interface class.  
registerImpl<TDefinition extends RpcInterface, TImplementation extends TDefinition>(definition: RpcInterfaceDefinition<TDefinition extends RpcInterface>, implementation: RpcInterfaceImplementation<TImplementation extends TDefinition>): void Static Register the RPC implementation class for the backend.  
supplyImplInstance<TDefinition extends RpcInterface, TImplementation extends TDefinition>(definition: RpcInterfaceDefinition<TDefinition extends RpcInterface>, instance: TImplementation extends TDefinition): void Static Supply the instance of the RPC interface implementation class for the backend (optional).  
terminateInterface<T extends RpcInterface>(definition: RpcInterfaceDefinition<T extends RpcInterface>): void Static Terminates an RPC interface class.  
unregisterImpl<TDefinition extends RpcInterface>(definition: RpcInterfaceDefinition<TDefinition extends RpcInterface>): void Static Unregister the RPC implementation class for the backend.  

Defined in

Last Updated: 08 January, 2020