Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServerDescription

The client's view of a single server, based on the most recent hello outcome.

Internal type, not meant to be directly instantiated

Hierarchy

  • ServerDescription

Index

Properties

$clusterTime?: ClusterTime
_hostAddress: HostAddress
address: string
arbiters: string[]
electionId?: ObjectId
error?: MongoError
hosts: string[]
lastUpdateTime: number
lastWriteDate: number
logicalSessionTimeoutMinutes?: number
maxWireVersion: number
me?: string
minWireVersion: number
passives: string[]
primary?: string
roundTripTime: number
setName?: string
setVersion?: number
tags: TagSet
topologyVersion?: TopologyVersion

Accessors

  • get allHosts(): string[]
  • get host(): string
  • get isDataBearing(): boolean
  • get isReadable(): boolean
  • get isWritable(): boolean
  • get port(): number

Methods

Generated using TypeDoc