Class RR::ProxyRunner
In: lib/rubyrep/proxy_runner.rb
Parent: Object

This class implements the functionality of the rrproxy.rb command.

Methods

Constants

DEFAULT_OPTIONS = { :port => DatabaseProxy::DEFAULT_PORT, :host => ''   Default options to start a DatabaseProxy server

Public Class methods

Runs the ProxyRunner (processing of command line & starting of server) args: the array of command line options with which to start the server

Public Instance methods

Builds the druby URL from the given options and returns it

Parses the given command line parameter array. Returns

  * the options hash or nil if command line parsing failed
  * status (as per UNIX conventions: 1 if parameters were invalid, 0 otherwise)

Starts a proxy server under the given druby URL

[Validate]