Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ConnectionHandshake

Index

Properties

bb

bb: ByteBuffer | null = null

bb_pos

bb_pos: number = 0

Methods

__init

  • Parameters

    • i: number
    • bb: ByteBuffer

    Returns ConnectionHandshake

    ConnectionHandshake

localhostPeer

  • localhostPeer(): boolean
  • Returns boolean

    boolean

maxMessageSize

  • maxMessageSize(): number
  • Returns number

    number

minProtocolVersion

  • minProtocolVersion(): number
  • Returns number

    number

mutate_localhostPeer

  • mutate_localhostPeer(value: boolean): boolean
  • Parameters

    • value: boolean

    Returns boolean

    boolean

mutate_maxMessageSize

  • mutate_maxMessageSize(value: number): boolean
  • Parameters

    • value: number

    Returns boolean

    boolean

mutate_minProtocolVersion

  • mutate_minProtocolVersion(value: number): boolean
  • Parameters

    • value: number

    Returns boolean

    boolean

mutate_protocolVersion

  • mutate_protocolVersion(value: number): boolean
  • Parameters

    • value: number

    Returns boolean

    boolean

protocolVersion

  • protocolVersion(): number
  • Returns number

    number

token

  • token(index: number): number | null
  • Parameters

    • index: number

    Returns number | null

    number

tokenArray

  • tokenArray(): Uint8Array | null
  • Returns Uint8Array | null

    Uint8Array

tokenLength

  • tokenLength(): number
  • Returns number

    number

Static addLocalhostPeer

  • addLocalhostPeer(builder: Builder, localhostPeer: boolean): void
  • Parameters

    • builder: Builder
    • localhostPeer: boolean

    Returns void

Static addMaxMessageSize

  • addMaxMessageSize(builder: Builder, maxMessageSize: number): void
  • Parameters

    • builder: Builder
    • maxMessageSize: number

    Returns void

Static addMinProtocolVersion

  • addMinProtocolVersion(builder: Builder, minProtocolVersion: number): void
  • Parameters

    • builder: Builder
    • minProtocolVersion: number

    Returns void

Static addProtocolVersion

  • addProtocolVersion(builder: Builder, protocolVersion: number): void
  • Parameters

    • builder: Builder
    • protocolVersion: number

    Returns void

Static addToken

  • addToken(builder: Builder, tokenOffset: flatbuffers.Offset): void
  • Parameters

    • builder: Builder
    • tokenOffset: flatbuffers.Offset

    Returns void

Static createTokenVector

  • createTokenVector(builder: Builder, data: number[] | Uint8Array): flatbuffers.Offset
  • Parameters

    • builder: Builder
    • data: number[] | Uint8Array

    Returns flatbuffers.Offset

    flatbuffers.Offset

Static endConnectionHandshake

  • endConnectionHandshake(builder: Builder): flatbuffers.Offset
  • Parameters

    • builder: Builder

    Returns flatbuffers.Offset

    flatbuffers.Offset

Static getRootAsConnectionHandshake

Static startConnectionHandshake

  • startConnectionHandshake(builder: Builder): void
  • Parameters

    • builder: Builder

    Returns void

Static startTokenVector

  • startTokenVector(builder: Builder, numElems: number): void
  • Parameters

    • builder: Builder
    • numElems: number

    Returns void

Generated using TypeDoc