Class: Ronin::Recon::Message::WorkerStopped Private

Inherits:
Object
  • Object
show all
Defined in:
lib/ronin/recon/message/worker_stopped.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.

Indicates that a worker has stopped.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(worker) ⇒ WorkerStopped

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.

Initializes the message.

Parameters:

  • worker (Worker)

    The worker object that has stopped.



42
43
44
45
46
# File 'lib/ronin/recon/message/worker_stopped.rb', line 42

def initialize(worker)
  @worker = worker

  freeze
end

Instance Attribute Details

#workerWorker (readonly)

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.

The worker object.

Returns:



34
35
36
# File 'lib/ronin/recon/message/worker_stopped.rb', line 34

def worker
  @worker
end