Class RR::DatabaseProxy
In: lib/rubyrep/database_proxy.rb
Parent: Object

The proxy to a remote database connection

Methods

Included Modules

DRbUndumped

Constants

DEFAULT_PORT = 9876   Default tcp port to listen on

Attributes

session_register  [RW]  A simple Hash to hold Session object Purpose: preventing them from being garbage collected when they are only referenced through Drb

Public Class methods

Public Instance methods

Create a ProxyConnection according to provided configuration Hash. config is a hash as described by ActiveRecord::Base#establish_connection

Destroys the given session from the session register

Returns ‘pong’. Used to verify that a working proxy is running.

Terminates this proxy

[Validate]