Module: Protobuf::Rpc::Connectors

Defined in:
lib/protobuf/rpc/connectors/zmq.rb,
lib/protobuf/rpc/connectors/base.rb,
lib/protobuf/rpc/connectors/ping.rb,
lib/protobuf/rpc/connectors/socket.rb

Defined Under Namespace

Classes: Base, Ping, Socket, Zmq

Constant Summary collapse

DEFAULT_OPTIONS =
{
  :service                 => nil,         # Fully-qualified Service class
  :method                  => nil,         # Service method to invoke
  :host                    => '127.0.0.1', # The hostname or address of the service (usually overridden)
  :port                    => '9399',      # The port of the service (usually overridden or pre-configured)
  :request                 => nil,         # The request object sent by the client
  :request_type            => nil,         # The request type expected by the client
  :response_type           => nil,         # The response type expected by the client
  :timeout                 => nil,         # The timeout for the request, also handled by client.rb
  :client_host             => nil,         # The hostname or address of this client
  :first_alive_load_balance => false,      # Do we want to use check_avail frames before request
}.freeze