Class: ChannelClient
Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:189
This method provides implementation for IChannel
and is responsible for
transforming a local calling to a RPC calling.
Extends
Implements
IChannelClient
Constructors
new ChannelClient()
new ChannelClient(_protocol): ChannelClient
Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:194
Parameters
Parameter | Type |
---|---|
_protocol | IMessageProtocol |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:120 |
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:201
Returns
void
Overrides
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
getChannel()
getChannel<T>(channelName): T
Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:205
Type Parameters
Type Parameter |
---|
T extends IChannel |
Parameters
Parameter | Type |
---|---|
channelName | string |
Returns
T
Implementation of
IChannelClient.getChannel