Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhoneConnection

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { tcp?: boolean; id: BigInteger; ip: string; ipv6: string; port: number; peerTag: Buffer }

Type declaration

  • Optional tcp?: boolean
  • id: BigInteger
  • ip: string
  • ipv6: string
  • port: number
  • peerTag: Buffer
CONSTRUCTOR_ID: 2629903303
SUBCLASS_OF_ID: 2861425677
classType: "constructor"
className: "PhoneConnection"
tcp?: boolean
id: BigInteger
ip: string
ipv6: string
port: number
peerTag: Buffer

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { tcp?: boolean; id: BigInteger; ip: string; ipv6: string; port: number; peerTag: Buffer }
  • Returns { tcp?: boolean; id: BigInteger; ip: string; ipv6: string; port: number; peerTag: Buffer }

    • Optional tcp?: boolean
    • id: BigInteger
    • ip: string
    • ipv6: string
    • port: number
    • peerTag: Buffer

Constructors

  • new PhoneConnection(args: { tcp?: boolean; id: BigInteger; ip: string; ipv6: string; port: number; peerTag: Buffer }): PhoneConnection

Generated using TypeDoc