@univerjs/rpc v0.5.0-beta.1 • Docs
Class: ChannelServer
Extends
Implements
IChannelServer
Constructors
new ChannelServer()
new ChannelServer(_protocol): ChannelServer
Parameters
Parameter | Type |
---|---|
_protocol | IMessageProtocol |
Returns
Overrides
Defined in
submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:333
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:117 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:340
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
registerChannel()
registerChannel(channelName, channel): void
Parameters
Parameter | Type |
---|---|
channelName | string |
channel | IChannel |
Returns
void
Implementation of
IChannelServer.registerChannel
Defined in
submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:347