Method: Mongo::Monitoring::Event::CommandStarted#address

Defined in:
lib/mongo/monitoring/event/command_started.rb

#addressServer::Address (readonly)

Returns address The server address.

Returns:

  • (Server::Address)

    address The server address.

Since:

  • 2.1.0



29
30
31
# File 'lib/mongo/monitoring/event/command_started.rb', line 29

def address
  @address
end