Class: Akephalos::ClientManager Private
- Inherits:
-
Object
- Object
- Akephalos::ClientManager
- Includes:
- DRbUndumped
- Defined in:
- lib/akephalos/server.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
The ClientManager is shared over DRb with the remote process, and facilitates communication between the processes.
Class Method Summary collapse
-
.configuration=(config) ⇒ Hash
private
Set the global configuration settings for Akephalos.
-
.new_client(options = {}) ⇒ Akephalos::Client
private
A new client instance.
Class Method Details
.configuration=(config) ⇒ Hash
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Set the global configuration settings for Akephalos.
43 44 45 |
# File 'lib/akephalos/server.rb', line 43 def self.configuration=(config) Akephalos.configuration = config end |
.new_client(options = {}) ⇒ Akephalos::Client
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new client instance.
34 35 36 37 |
# File 'lib/akephalos/server.rb', line 34 def self.new_client( = {}) # Store the client to ensure it isn't prematurely garbage collected. @client = Client.new() end |