Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • unknown
    • Peer

Index

Constructors

  • Returns Peer

Methods

  • addSupportedCapabilities(value: number, index?: number): Peer
  • Parameters

    • value: number
    • Optional index: number

    Returns Peer

  • clearNodeAddress(): Peer
  • Returns Peer

  • clearSupportedCapabilitiesList(): Peer
  • Returns Peer

  • getDate(): number
  • Returns number

  • Returns undefined | NodeAddress

  • getSupportedCapabilitiesList(): number[]
  • Returns number[]

  • hasNodeAddress(): boolean
  • Returns boolean

  • serializeBinary(): Uint8Array
  • Returns Uint8Array

  • setDate(value: number): Peer
  • Parameters

    • value: number

    Returns Peer

  • Parameters

    Returns Peer

  • setSupportedCapabilitiesList(value: number[]): Peer
  • Parameters

    • value: number[]

    Returns Peer

  • Parameters

    • Optional includeInstance: boolean

    Returns Peer.AsObject

  • deserializeBinary(bytes: Uint8Array): Peer
  • Parameters

    • bytes: Uint8Array

    Returns Peer

  • deserializeBinaryFromReader(message: Peer, reader: BinaryReader): Peer
  • Parameters

    • message: Peer
    • reader: BinaryReader

    Returns Peer

  • serializeBinaryToWriter(message: Peer, writer: BinaryWriter): void
  • Parameters

    • message: Peer
    • writer: BinaryWriter

    Returns void

  • Parameters

    • includeInstance: boolean
    • msg: Peer

    Returns Peer.AsObject

Generated using TypeDoc