Class: Invoker::IPC::ListCommand

Inherits:
BaseCommand show all
Defined in:
lib/invoker/ipc/list_command.rb

Instance Attribute Summary

Attributes inherited from BaseCommand

#client_socket

Instance Method Summary collapse

Methods inherited from BaseCommand

#initialize, #send_data

Constructor Details

This class inherits a constructor from Invoker::IPC::BaseCommand

Instance Method Details

#run_command(message_object) ⇒ Object



4
5
6
7
8
# File 'lib/invoker/ipc/list_command.rb', line 4

def run_command(message_object)
  list_response = Invoker.commander.process_list
  send_data(list_response)
  true
end