Class: Mongo::Server::PushMonitor::Connection Private

Inherits:
Monitor::Connection show all
Defined in:
lib/mongo/server/push_monitor/connection.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 2.0.0

Constant Summary

Constants inherited from Monitor::Connection

Monitor::Connection::ISMASTER, Monitor::Connection::ISMASTER_BYTES, Monitor::Connection::ISMASTER_MESSAGE, Monitor::Connection::ISMASTER_OP_MSG, Monitor::Connection::ISMASTER_OP_MSG_BYTES, Monitor::Connection::ISMASTER_OP_MSG_MESSAGE

Constants included from Loggable

Loggable::PREFIX

Instance Attribute Summary

Attributes inherited from Monitor::Connection

#address, #options, #server_connection_id

Attributes inherited from ConnectionCommon

#compressor, #pid

Instance Method Summary collapse

Methods inherited from Monitor::Connection

#connect!, #disconnect!, #dispatch, #dispatch_bytes, #handshake!, #initialize, #read_response, #write_bytes

Methods included from Loggable

#log_debug, #log_error, #log_fatal, #log_info, #log_warn, #logger

Methods inherited from ConnectionCommon

#connected?

Constructor Details

This class inherits a constructor from Mongo::Server::Monitor::Connection

Instance Method Details

#socket_timeoutObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 2.0.0



22
23
24
# File 'lib/mongo/server/push_monitor/connection.rb', line 22

def socket_timeout
  options[:socket_timeout]
end