Top Description Fields Constructors Methods
com.sun.star.lib.uno.environments.remote

public Class Job

extends Object
Class Inheritance
Imports
java.io.PrintWriter, .StringWriter, java.lang.reflect.InvocationTargetException, com.sun.star.lib.uno.typedesc.MethodDescription, com.sun.star.uno.Any, .Type, .UnoRuntime, com.sun.star.uno.XCurrentContext

The Job is an abstraction for tasks which have to be done remotely because of a method invocation.
Since
UDK1.0
See Also
com.sun.star.lib.uno.environments.remote.ThreadId, com.sun.star.lib.uno.environments.remote.IReceiver

Field Summary

Modifier and TypeField and Description
pack-priv Object
protected Message
protected IReceiver
protected Object

Constructor Summary

AccessConstructor and Description
public
Job(Object object, IReceiver iReceiver, Message iMessage)

Method Summary

Modifier and TypeMethod and Description
protected Object

Returns:

the result of the call (should be an Any).
dispatch_queryInterface
(Type type)

Dispatches a queryInterface call.

public void
public Object

Returns:

the result of the message.
execute
()

Execute the job.

public ThreadId
public boolean
public boolean
private Exception
remoteUnoRequestRaisedException(Object exception)

The name of this method is chosen to generate a somewhat self-explanatory stack trace.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_disposeIdback to summary
pack-priv Object _disposeId
_iMessageback to summary
protected Message _iMessage
_iReceiverback to summary
protected IReceiver _iReceiver
_objectback to summary
protected Object _object

Constructor Detail

Jobback to summary
public Job(Object object, IReceiver iReceiver, Message iMessage)

Method Detail

dispatch_queryInterfaceback to summary
protected Object dispatch_queryInterface(Type type)

Dispatches a queryInterface call.

Returns:Object

the result of the call (should be an Any).

disposeback to summary
public void dispose()
executeback to summary
public Object execute() throws Throwable

Execute the job.

Returns:Object

the result of the message.

getThreadIdback to summary
public ThreadId getThreadId()
isRequestback to summary
public boolean isRequest()
isSynchronousback to summary
public boolean isSynchronous()
remoteUnoRequestRaisedExceptionback to summary
private Exception remoteUnoRequestRaisedException(Object exception)

The name of this method is chosen to generate a somewhat self-explanatory stack trace.