diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-04-04 16:43:57 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-04-04 16:43:57 +0000 |
commit | bc26affffb872414b66602ec1454bb93ff9c0f12 (patch) | |
tree | 9cc7a7cb51af2446f3da8441e1de5a26e64810bc /offapi/com/sun/star/task | |
parent | 6893e538d2663b32553b21ce056b196af69fc92d (diff) |
INTEGRATION: CWS fwk01 (1.4.92); FILE MERGED
2003/03/27 07:20:39 as 1.4.92.1: #108109# add service descriptions for Job and AsyncJob; correct jobs documentation
Diffstat (limited to 'offapi/com/sun/star/task')
-rw-r--r-- | offapi/com/sun/star/task/XAsyncJob.idl | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/offapi/com/sun/star/task/XAsyncJob.idl b/offapi/com/sun/star/task/XAsyncJob.idl index 59cc67042301..ac2318a7870b 100644 --- a/offapi/com/sun/star/task/XAsyncJob.idl +++ b/offapi/com/sun/star/task/XAsyncJob.idl @@ -2,9 +2,9 @@ * * $RCSfile: XAsyncJob.idl,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mi $ $Date: 2002-10-03 13:09:55 $ + * last change: $Author: hr $ $Date: 2003-04-04 17:43:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,14 +81,16 @@ module com { module sun { module star { module task { interface XJobListener; //============================================================================= -/** specifies a job which is to be executed asynchronously +/** specifies a job which must be executed asynchronously <p> Instead of <type>XJob</type> the implementation of this interface - must make shure that execution will be real asynchronous (e.g. by using - threads). Because it's not part of the generic <type>JobExecutor</type>, - the asynchronous mode must be guaranteed by the implementation of THIS - interface. + must be aware, that execution can be made real asynchronous (e.g. by using + threads). Because the environment whish to have creation and using of threads + under control, it's not allowed for a real job implementation to use such mechanism + by itself. The outside code decide, if it's possible and how it can be made + asynchronous. In some special cases it can be, that asynchronous jobs will be executed + synchronously. </p> @see XJob @@ -103,11 +105,10 @@ interface XAsyncJob : com::sun::star::uno::XInterface a concrete implementation of a job specifies in its service descriptions which parameters are allowed (or expected). This values are persistent by the configuration of the <type>JobExecutor</type> which use this asynchronous job. It's possible to write it back by called listener - function <member>XJobListener::jobFinished()</member> which must be the executor himself. + function <member>XJobListener::jobFinished()</member>. @param Listener specifies a listener which should be notified on events. May be <NULL/>. - If it's not <NULL/> it must be the <type>JobExecutor</type> which force this action. @throws com::sun::star::lang::IllegalArgumentException if some of given arguments doesn't fill out the service specification or |