Class RpcMessageWriter

This class acts as a layer between kernel/client and a connection writer. It automatically chunks long messages into multiple smaller one using the RpcType.Chunks type.

todo: It keeps track of the back-pressure and sends only when the pressure is not too big. It automatically saves big buffer to the file system and streams data from there to not block valuable memory.

Hierarchy

  • RpcMessageWriter

Implements

Constructors

Properties

Methods

Constructors

Properties

chunkId: number = 0

Methods

Generated using TypeDoc