Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: task ::
interface XJobListener
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-::com::sun::star::lang::XEventListener
          |
          +-XJobListener
Description listener on finish states of asynchronous job execution

Methods' Summary
jobFinished | indicates that the job is done

Methods' Details
jobFinished
void jobFinished( | [in] XAsyncJob [in] any | Job, Result );
Description indicates that the job is done Parameter Job identifies the asynchronous job so the JobExecutor can differ between more then ones. Parameter Result should be the same like for the synchronous mode on XJob::execute() . It provides information about success or failure of job execution. It's possible too, to use special protocol (which depends from real implementation) between JobExecutor and a real job. So it can be possible to: deregister the job let him registered although execution was successfully(!) make some job specific data persistent inside the job configuration which is provided by the executor.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.