Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RpcMessageEncoder

A RpcMessageEncoder writes RpcMessage objects to a WriteBuffer. Note that it is up to clients to commit the message. This allows for multiple messages being encoded before sending.

Hierarchy

  • RpcMessageEncoder

Implemented by

Index

Methods

  • notification(buf: WriteBuffer, method: string, args: any[], id?: number): void
  • replyErr(buf: WriteBuffer, requestId: number, err: any): void
  • replyOK(buf: WriteBuffer, requestId: number, res: any): void
  • request(buf: WriteBuffer, requestId: number, method: string, args: any[]): void