org.jppf.server.job
Class JobEventTask

java.lang.Object
  extended by org.jppf.server.job.JobEventTask
All Implemented Interfaces:
Runnable

public class JobEventTask
extends Object
implements Runnable

Instances of this class are submitted into an event queue and generate actual job manager events that are then dispatched to registered listeners.


Constructor Summary
JobEventTask(JPPFJobManager jobManager, JobEventType eventType, JPPFTaskBundle bundle, ChannelWrapper channel)
          Initialize this job manager event task with the specified parameters.
 
Method Summary
 void run()
          Execute this task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobEventTask

public JobEventTask(JPPFJobManager jobManager,
                    JobEventType eventType,
                    JPPFTaskBundle bundle,
                    ChannelWrapper channel)
Initialize this job manager event task with the specified parameters.

Parameters:
jobManager - - the job manager that submits the events.
eventType - - the type of event to generate.
bundle - - the job data.
channel - - the id of the job source of the event.
Method Detail

run

public void run()
Execute this task.

Specified by:
run in interface Runnable
See Also:
Runnable.run()


Copyright © 2005-2010 JPPF Team.