Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ClientConnection

Index

Constructors

constructor

Methods

close

  • close(): void

getAddress

getConnectedServerVersion

  • getConnectedServerVersion(): number

getLastReadTimeMillis

  • getLastReadTimeMillis(): number

getLastWriteTimeMillis

  • getLastWriteTimeMillis(): number

getLocalAddress

getStartTime

  • getStartTime(): number

isAlive

  • isAlive(): boolean

isAuthenticatedAsOwner

  • isAuthenticatedAsOwner(): boolean

isHeartbeating

  • isHeartbeating(): boolean

registerResponseCallback

  • registerResponseCallback(callback: Function): void
  • Registers a function to pass received data on 'data' events on this connection.

    Parameters

    • callback: Function

    Returns void

setAddress

  • setAddress(address: Address): void

setAuthenticatedAsOwner

  • setAuthenticatedAsOwner(asOwner: boolean): void

setConnectedServerVersion

  • setConnectedServerVersion(versionString: string): void

setHeartbeating

  • setHeartbeating(heartbeating: boolean): void

toString

  • toString(): string

write

  • write(buffer: Buffer): Promise<void>

Generated using TypeDoc