Class: ChannelServer
Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:334
Extends
Implements
IChannelServer
Constructors
new ChannelServer()
new ChannelServer(_protocol): ChannelServer
Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:339
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:346
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
registerChannel()
registerChannel(channelName, channel): void
Defined in: submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:353
Parameters
Parameter | Type |
---|---|
channelName | string |
channel | IChannel |
Returns
void
Implementation of
IChannelServer.registerChannel