Since: 1.13.0

final class ServerChangedEvent (View source)

Methods

int
getPort()

Returns the port on which this server is listening

string
getHost()

Returns the hostname of the server

getNewDescription()

Returns the new description for the server

getPreviousDescription()

Returns the previous description for the server

getTopologyId()

Returns the topology ID associated with this server

void
__wakeup()

No description

Details

final int getPort()

Returns the port on which this server is listening

Return Value

int

final string getHost()

Returns the hostname of the server

Return Value

string

final ServerDescription getNewDescription()

Returns the new description for the server

Return Value

ServerDescription

final ServerDescription getPreviousDescription()

Returns the previous description for the server

Return Value

ServerDescription

final ObjectId getTopologyId()

Returns the topology ID associated with this server

Return Value

ObjectId

final void __wakeup()

No description

Return Value

void