Class God::Socket
In: lib/god/socket.rb
Parent: Object

The God::Server oversees the DRb server which dishes out info on this God daemon.

Methods

method_missing   new   ping   socket   socket   socket_file   socket_file   stop  

Attributes

port  [R] 

Public Class methods

Create a new Server and star the DRb server

  +port+ is the port on which to start the DRb service (default nil)

The address of the socket for a given port

  +port+ is the port number

Returns String (drb address)

The location of the socket for a given port

  +port+ is the port number

Returns String (file location)

Public Instance methods

Forward API calls to God

Returns whatever the forwarded call returns

Returns true

The address of the socket for this Server

Returns String (drb address)

The location of the socket for this Server

Returns String (file location)

Stop the DRb server and delete the socket file

Returns nothing

[Validate]