Class: Ronin::Recon::Message::JobCompleted Private

Inherits:
Object
  • Object
show all
Defined in:
lib/ronin/recon/message/job_completed.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 recon job has been completed.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(worker, value) ⇒ JobCompleted

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.

  • value (Value)

    The input value for the job.



50
51
52
53
54
55
# File 'lib/ronin/recon/message/job_completed.rb', line 50

def initialize(worker,value)
  @worker = worker
  @value  = value

  freeze
end

Instance Attribute Details

#valueValue (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 input value object.

Returns:



39
40
41
# File 'lib/ronin/recon/message/job_completed.rb', line 39

def value
  @value
end

#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/job_completed.rb', line 34

def worker
  @worker
end