Class: Protobuf::Rpc::Connectors::Socket

Inherits:
Base
  • Object
show all
Includes:
Logger::LogMethods, Common
Defined in:
lib/protobuf/rpc/connectors/socket.rb

Instance Attribute Summary

Attributes included from Common

#error

Attributes inherited from Base

#complete_cb, #failure_cb, #options, #success_cb

Instance Method Summary collapse

Methods included from Common

#_send_request, #any_callbacks?, #complete, #data_callback, #fail, #initialize_stats, #log_signature, #parse_response, #post_init, #succeed, #verify_callbacks, #verify_options

Methods inherited from Base

#async?, #initialize

Constructor Details

This class inherits a constructor from Protobuf::Rpc::Connectors::Base

Instance Method Details

#send_requestObject



10
11
12
13
14
15
16
# File 'lib/protobuf/rpc/connectors/socket.rb', line 10

def send_request
  check_async
  initialize_stats
  connect_to_rpc_server
  post_init # calls _send_request
  read_response
end