Method: Mongo::Server::Monitor::Connection#dispatch
- Defined in:
- lib/mongo/server/monitor/connection.rb
#dispatch(message) ⇒ Protocol::Message
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.
Sends a message and returns the result.
97 98 99 |
# File 'lib/mongo/server/monitor/connection.rb', line 97 def dispatch() dispatch_bytes(.serialize.to_s) end |