@univerjsrpcclassesChannelserver

@univerjs/rpc v0.5.0-beta.1Docs


Class: ChannelServer

Extends

Implements

  • IChannelServer

Constructors

new ChannelServer()

new ChannelServer(_protocol): ChannelServer

Parameters

ParameterType
_protocolIMessageProtocol

Returns

ChannelServer

Overrides

RxDisposable.constructor

Defined in

submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:333

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
dispose$protectedSubject<void>undefinedRxDisposable.dispose$submodules/univer/packages/core/src/shared/lifecycle.ts:117

Methods

dispose()

dispose(): void

Returns

void

Overrides

RxDisposable.dispose

Defined in

submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:340


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

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

ParameterType
channelNamestring
channelIChannel

Returns

void

Implementation of

IChannelServer.registerChannel

Defined in

submodules/univer/packages/rpc/src/services/rpc/rpc.service.ts:347