alive?

alive?() Instance Public methods

new

new(there, name, server=nil) Class Public methods

new

new(unknown) Class Public methods Create a new DRbUnknownError for the DRb::DRbUnknown object unknown

reload

reload() Instance Public methods Attempt to load the wrapped marshalled object again. If the class of the object is now known locally, the object will be unmarshalled and returned. Otherwise, a new but identical DRbUnknown object will be returned.

exception

exception() Instance Public methods Create a DRbUnknownError exception containing this object.

new

new(err, buf) Class Public methods Create a new DRbUnknown object. buf is a string containing a marshalled object that could not be unmarshalled. err is the error message that was raised when the unmarshalling failed. It is used to determine the name of the unmarshalled object.

open_server

open_server(uri, config) Class Public methods Returns a DRb::DRbSSLSocket instance as a server-side connection, with the SSL connected. This is called from DRb.start_service or while connecting to a remote object: DRb.start_service 'drbssl://localhost:0', front, config uri is the URI we are connected to, 'drbssl://localhost:0' above, config is our configuration. Either a Hash or DRb::DRbSSLSocket::SSLConfig

open

open(uri, config) Class Public methods Return an DRb::DRbSSLSocket instance as a client-side connection, with the SSL connected. This is called from DRb.start_service or while connecting to a remote object: DRb.start_service 'drbssl://localhost:0', front, config uri is the URI we are connected to, 'drbssl://localhost:0' above, config is our configuration. Either a Hash or DRb::DRbSSLSocket::SSLConfig

new

new(uri, soc, config, is_established) Class Public methods Create a DRb::DRbSSLSocket instance. uri is the URI we are connected to. soc is the tcp socket we are bound to. config is our configuration. Either a Hash or SSLConfig is_established is a boolean of whether soc is currenly established This is called automatically based on the DRb protocol.

setup_ssl_context

setup_ssl_context() Instance Public methods Establish the OpenSSL::SSL::SSLContext with the configuration parameters provided.