Class: Invoker::IPC::RemoveCommand

Inherits:
BaseCommand show all
Defined in:
lib/invoker/ipc/remove_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
9
# File 'lib/invoker/ipc/remove_command.rb', line 4

def run_command(message_object)
  Invoker.commander.on_next_tick(message_object) do |remove_message|
    stop_process(remove_message)
  end
  true
end