LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XJobListener Interface Referencepublished

listener on finish states of asynchronous job execution More...

import"XJobListener.idl";

Inheritance diagram for XJobListener:
XEventListener XInterface

Public Member Functions

void jobFinished ([in] XAsyncJob Job, [in] any Result)
 indicates that the job is done More...
 
- Public Member Functions inherited from XEventListener
void disposing ([in] com::sun::star::lang::EventObject Source)
 gets called when the broadcaster is about to be disposed. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

listener on finish states of asynchronous job execution

Member Function Documentation

void jobFinished ( [in] XAsyncJob  Job,
[in] any  Result 
)

indicates that the job is done

Parameters
Jobidentifies the asynchronous job so that theJobExecutor can differ between more than ones.
Resultshould 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 theJobExecutor 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.

The documentation for this interface was generated from the following file: