Since: 1.13.0

final class ServerOpeningEvent (View source)

Methods

int
getPort()

Returns the port on which this server is listening

string
getHost()

Returns the hostname of 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 ObjectId getTopologyId()

Returns the topology ID associated with this server

Return Value

ObjectId

final void __wakeup()

No description

Return Value

void