Class: Msf::WebServices::JobProcessor

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/msf/core/web_services/job_processor.rb

Defined Under Namespace

Classes: JobWraper

Instance Method Summary collapse

Instance Method Details

#submit_job(job_args, &job) ⇒ Object



6
7
8
# File 'lib/msf/core/web_services/job_processor.rb', line 6

def submit_job(job_args, &job)
  @job_queue << JobWraper.new(job_args, &job)
end