Class: ChannelService
Defined in: submodules/univer/packages/rpc/src/services/rpc/channel.service.ts:32
This service is responsible for managing the RPC channels.
Implements
Constructors
new ChannelService()
new ChannelService(_messageProtocol): ChannelService
Defined in: submodules/univer/packages/rpc/src/services/rpc/channel.service.ts:36
Parameters
Parameter | Type |
---|---|
_messageProtocol | IMessageProtocol |
Returns
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/rpc/src/services/rpc/channel.service.ts:41
Returns
void
Implementation of
registerChannel()
registerChannel(name, channel): void
Defined in: submodules/univer/packages/rpc/src/services/rpc/channel.service.ts:50
Parameters
Parameter | Type |
---|---|
name | string |
channel | IChannel |
Returns
void
requestChannel()
requestChannel(name): IChannel
Defined in: submodules/univer/packages/rpc/src/services/rpc/channel.service.ts:46
Parameters
Parameter | Type |
---|---|
name | string |
Returns
IChannel