Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DcOption

Hierarchy

  • VirtualClass<{ ipv6?: boolean; mediaOnly?: boolean; tcpoOnly?: boolean; cdn?: boolean; static?: boolean; thisPortOnly?: boolean; id: int; ipAddress: string; port: int; secret?: bytes }>
    • DcOption

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { ipv6?: boolean; mediaOnly?: boolean; tcpoOnly?: boolean; cdn?: boolean; static?: boolean; thisPortOnly?: boolean; id: number; ipAddress: string; port: number; secret?: Buffer }

Type declaration

  • Optional ipv6?: boolean
  • Optional mediaOnly?: boolean
  • Optional tcpoOnly?: boolean
  • Optional cdn?: boolean
  • Optional static?: boolean
  • Optional thisPortOnly?: boolean
  • id: number
  • ipAddress: string
  • port: number
  • Optional secret?: Buffer
CONSTRUCTOR_ID: 414687501
SUBCLASS_OF_ID: 2655248675
classType: "constructor"
className: "DcOption"
ipv6?: boolean
mediaOnly?: boolean
tcpoOnly?: boolean
cdn?: boolean
static?: boolean
thisPortOnly?: boolean
id: number
ipAddress: string
port: number
secret?: Buffer

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { ipv6?: boolean; mediaOnly?: boolean; tcpoOnly?: boolean; cdn?: boolean; static?: boolean; thisPortOnly?: boolean; id: number; ipAddress: string; port: number; secret?: Buffer }
  • Returns { ipv6?: boolean; mediaOnly?: boolean; tcpoOnly?: boolean; cdn?: boolean; static?: boolean; thisPortOnly?: boolean; id: number; ipAddress: string; port: number; secret?: Buffer }

    • Optional ipv6?: boolean
    • Optional mediaOnly?: boolean
    • Optional tcpoOnly?: boolean
    • Optional cdn?: boolean
    • Optional static?: boolean
    • Optional thisPortOnly?: boolean
    • id: number
    • ipAddress: string
    • port: number
    • Optional secret?: Buffer

Constructors

  • new DcOption(args: { ipv6?: boolean; mediaOnly?: boolean; tcpoOnly?: boolean; cdn?: boolean; static?: boolean; thisPortOnly?: boolean; id: number; ipAddress: string; port: number; secret?: Buffer }): DcOption
  • Parameters

    • args: { ipv6?: boolean; mediaOnly?: boolean; tcpoOnly?: boolean; cdn?: boolean; static?: boolean; thisPortOnly?: boolean; id: number; ipAddress: string; port: number; secret?: Buffer }
      • Optional ipv6?: boolean
      • Optional mediaOnly?: boolean
      • Optional tcpoOnly?: boolean
      • Optional cdn?: boolean
      • Optional static?: boolean
      • Optional thisPortOnly?: boolean
      • id: number
      • ipAddress: string
      • port: number
      • Optional secret?: Buffer

    Returns DcOption

Generated using TypeDoc