Class

DRbServer

Extends:

Class representing a drb server instance.

A DRbServer must be running in the local process before any incoming dRuby calls can be accepted, or any local objects can be passed as dRuby references to remote processes, even if those local objects are never actually called remotely. You do not need to start a DRbServer in the local process if you are only making outgoing dRuby calls passing marshalled parameters.

Unless multiple servers are being used, the local DRbServer is normally started by calling DRb.start_service.

Modules
InvokeMethod18Mixin
Classes
InvokeMethod
Constants
INSECURE_METHOD List of insecure methods.
Public Attributes
config The configuration of this DRbServer
front The front object of the DRbServer.
safe_level
thread The main thread of this DRbServer.
uri The URI of this DRbServer.
Public Methods
alive? Is this server alive?
check_insecure_method Check that a method is callable via dRuby.
default_acl Set the default value for the :acl option.
default_argc_limit Set the default value for the :argc_limit option.
default_id_conv Set the default value for the :id_conv option.
default_load_limit Set the default value for the :load_limit option.
default_safe_level
make_config
new Create a new DRbServer instance.
stop_service Stop this server.
to_id Convert a local object to a dRuby reference.
to_obj Convert a dRuby reference to the local object it refers to.
verbose Get whether the server is in verbose mode.
verbose Get the default value of the :verbose option.
verbose= Set the default value of the :verbose option.
verbose= Set whether to operate in verbose mode.
Private Methods
any_to_s Coerce an object to a string, providing our own representation if to_s is not defined for the object.
insecure_method? Has a method been included in the list of insecure methods?
kill_sub_thread
main_loop The main loop performed by a DRbServer’s internal thread.
run
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.