Module: Protobuf::Rpc::Connectors

Defined in:
lib/protobuf/rpc/connectors/base.rb,
lib/protobuf/rpc/connectors/common.rb,
lib/protobuf/rpc/connectors/socket.rb,
lib/protobuf/rpc/connectors/em_client.rb,
lib/protobuf/rpc/connectors/eventmachine.rb

Defined Under Namespace

Modules: Common Classes: Base, EMClient, EventMachine, Socket

Constant Summary collapse

DEFAULT_OPTIONS =
{
  :service        => nil,           # Service to invoke
  :method         => nil,           # Service method to call
  :host           => '127.0.0.1',   # A default host (usually overridden)
  :port           => '9399',        # A default port (usually overridden)
  :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
  :async          => false,         # Whether or not to block a client call, this is actually handled by client.rb
  :timeout        => 30             # The default timeout for the request, also handled by client.rb
}