@univerjsrpcclassesChannelserver

@univerjs/rpc v0.5.4


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

ParameterType
_protocolIMessageProtocol

Returns

ChannelServer

Overrides

RxDisposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
dispose$protectedSubject<void>undefinedRxDisposable.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

RxDisposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe


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

ParameterType
channelNamestring
channelIChannel

Returns

void

Implementation of

IChannelServer.registerChannel