Class: Ronin::Recon::Message::JobStarted Private

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(worker, value) ⇒ JobStarted

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 object.



50
51
52
53
54
55
# File 'lib/ronin/recon/message/job_started.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_started.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_started.rb', line 34

def worker
  @worker
end