net.sourceforge.geeboss.view.statusline
Class MidiJob

java.lang.Object
  extended by net.sourceforge.geeboss.view.statusline.MidiJob

public class MidiJob
extends java.lang.Object

Objects from this class represent a Job in Geeboss, which is currently performed. This may be the MIDI transmission or reception.

Author:
Frederic BORRY

Constructor Summary
MidiJob(java.lang.String title, MidiJobThread loadingThread)
          Create a new Midi
 
Method Summary
 void cancelJob(boolean forceAggregationStop)
          Cancel this job.
 java.lang.String getTitle()
          Get the title of the Job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiJob

public MidiJob(java.lang.String title,
               MidiJobThread loadingThread)
Create a new Midi

Parameters:
title - The title of the job
loadingThread - The thread that is running the job
Method Detail

cancelJob

public void cancelJob(boolean forceAggregationStop)
Cancel this job. This is done by stopping or interrupting the Thread(s) that is performing the job.

Parameters:
forceAggregationStop - If true, forces the Thread that is running the aggregation to stop. This only works in case this job is part of an aggregation.

getTitle

public java.lang.String getTitle()
Get the title of the Job.

Returns:
Returns the title.


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.