Class: Pazuzu::Control::SocketServer
- Inherits:
-
Object
- Object
- Pazuzu::Control::SocketServer
- Includes:
- Utility::Runnable
- Defined in:
- lib/pazuzu/control/socket_server.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#supervisor ⇒ Object
readonly
Returns the value of attribute supervisor.
Attributes included from Utility::Runnable
Instance Method Summary collapse
-
#initialize(supervisor, path) ⇒ SocketServer
constructor
A new instance of SocketServer.
Methods included from Utility::Runnable
#run_state, #start!, #stop!, #wait_for_state_change!
Constructor Details
#initialize(supervisor, path) ⇒ SocketServer
Returns a new instance of SocketServer.
8 9 10 11 12 13 14 |
# File 'lib/pazuzu/control/socket_server.rb', line 8 def initialize(supervisor, path) @supervisor = supervisor @path = path @logger = Utility::AnnotatedLogger.new( supervisor.logger, 'Command socket server') super() end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
16 17 18 |
# File 'lib/pazuzu/control/socket_server.rb', line 16 def path @path end |
#supervisor ⇒ Object (readonly)
Returns the value of attribute supervisor.
17 18 19 |
# File 'lib/pazuzu/control/socket_server.rb', line 17 def supervisor @supervisor end |