The God::Server oversees the DRb server which dishes out info on this God daemon.
Create a new Server and star the DRb server
+port+ is the port on which to start the DRb service (default nil)
# File lib/god/socket.rb, line 41 def initialize(port = nil, user = nil, group = nil, perm = nil) @port = port @user = user @group = group @perm = perm start end
Forward API calls to God
Returns whatever the forwarded call returns
# File lib/god/socket.rb, line 57 def method_missing(*args, &block) God.send(*args, &block) end
The address of the socket for this Server
Returns String (drb address)
# File lib/god/socket.rb, line 35 def socket self.class.socket(@port) end
Generated with the Darkfish Rdoc Generator 2.