Module: Protobuf::Rpc::Connectors

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

Defined Under Namespace

Modules: Common Classes: Base, Http, 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                 => 300,         # The default 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
}