Skip to content
On this page

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.2

DRb::DRbServer

< Object 14 instance methods 7 class methods

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.

Class methods 7

Instance methods 14

Constants

List of insecure methods.

These methods are not callable via dRuby.

Attributes
Read

The configuration of this DRbServer

Read

The front object of the DRbServer.

This object receives remote method calls made on the server’s URI alone, with an object id.

Read

The main thread of this DRbServer.

This is the thread that listens for and accepts connections from clients, not that handles each client’s request-response session.

uri

Read

The URI of this DRbServer.