@univerjs/rpc v0.1.17 • Docs
@univerjs/rpc
Classes
Class | Description |
---|---|
ChannelClient | This method provides implementation for IChannel and is responsible for transforming a local calling to a RPC calling. |
ChannelServer | - |
ChannelService | This service is responsible for managing the RPC channels. |
DataSyncPrimaryController | This controller is responsible for syncing data from the primary thread to the worker thread. |
DataSyncReplicaController | This controller is responsible for syncing data from the worker thread to the primary thread. |
RemoteSyncPrimaryService | - |
UniverRPCMainThreadPlugin | This plugin is used to register the RPC services on the main thread. It is also responsible for booting up the Web Worker instance of Univer. |
UniverRPCWorkerThreadPlugin | This plugin is used to register the RPC services on the worker thread. |
WebWorkerRemoteInstanceService | - |
Interfaces
Interface | Description |
---|---|
IMessageProtocol | This protocol is for transferring data from the two peer univer instance running in different locations. |
IRPCChannelService | - |
IRemoteInstanceService | - |
IRemoteSyncService | - |
IUniverRPCMainThreadConfig | - |
IUniverRPCWorkerThreadPluginConfig | - |
Variables
Variable | Description |
---|---|
RemoteInstanceServiceName | - |
RemoteSyncServiceName | - |
Functions
Function | Description |
---|---|
IRPCChannelService | - |
IRemoteInstanceService | - |
IRemoteSyncService | - |