new

new(timeout=600) Class Public methods Creates a new TimerIdConv which will hold objects for timeout seconds.

config

config() Class Public methods Get the configuration of the current server. If there is no current server, this returns the default configuration. See current_server and DRbServer::make_config.

current_server

current_server() Class Public methods Get the 'current' server. In the context of execution taking place within the main thread of a dRuby server (typically, as a result of a remote call on the server or one of its objects), the current server is that server. Otherwise, the current server is the primary server. If the above rule fails to find a server, a DRbServerNotFound error is raised.

fetch_server

fetch_server(uri) Class Public methods Retrieves the server with the given uri. See also ::regist_server and remove_server.

front

front() Class Public methods Get the front object of the current server. This raises a DRbServerNotFound error if there is no current server. See current_server.

here?

here?(uri) Class Public methods Is uri the URI for the current local server?

install_acl

install_acl(acl) Class Public methods Set the default ACL to acl. See DRb::DRbServer.default_acl.

install_id_conv

install_id_conv(idconv) Class Public methods Set the default id conversion object. This is expected to be an instance such as DRb::DRbIdConv that responds to to_id and to_obj that can convert objects to and from DRb references. See DRbServer#default_id_conv.

regist_server

regist_server(server) Class Public methods Registers server with DRb. This is called when a new DRb::DRbServer is created. If there is no primary server then server becomes the primary server. Example: require 'drb' s = DRb::DRbServer.new # automatically calls regist_server DRb.fetch_server s.uri #=> #<DRb::DRbServer:0x...>

remove_server

remove_server(server) Class Public methods Removes server from the list of registered servers.