Gjsify LogoGjsify Logo

Hierarchy

  • IP4Address

Index

Constructors

Properties

name: string

Methods

  • getAddress(): number
  • getGateway(): number
  • getPrefix(): number
  • ref(): void
  • setAddress(addr: number): void
  • Sets the IPv4 address property of this object.

    Parameters

    • addr: number

      the IPv4 address in network byte order

    Returns void

  • setGateway(gateway: number): void
  • Sets the IPv4 default gateway property of this address object.

    Parameters

    • gateway: number

      the IPv4 default gateway in network byte order

    Returns void

  • setPrefix(prefix: number): void
  • Sets the IPv4 address prefix.

    Parameters

    • prefix: number

      the address prefix, a number between 1 and 32 inclusive

    Returns void

  • unref(): void
  • Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method