|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.ThreadBridge
public class ThreadBridge
ThreadBridge
implements a method of calling methods on
a different thread.
Constructor Summary | |
---|---|
ThreadBridge()
Constructs a ThreadBridge |
Method Summary | |
---|---|
Object |
call(Object object,
Method method,
Object[] args)
send a method call across the bridge |
void |
close()
close the bridge |
boolean |
isOpen()
Check if bridge is open |
void |
open()
open the bridge and wait for stuff to be sent across |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadBridge()
Method Detail |
---|
public void close()
public boolean isOpen()
public void open()
public Object call(Object object, Method method, Object[] args) throws InvocationTargetException, InterruptedException
object
- object to invoke method on (can be null
for static methods)method
- method to invokeargs
- arguments to the method
InvocationTargetException
- which wraps any exception that may have been thrown
by the invoked method
InterruptedException
- if action was interrupted (can't ever happen in java 1.1)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |