com.sun.xml.ws.client
Class AsyncInvoker
java.lang.Object
com.sun.xml.ws.client.AsyncInvoker
- All Implemented Interfaces:
- Runnable
public abstract class AsyncInvoker
- extends Object
- implements Runnable
Invokes Tube
line asynchronously for the client's async API(for e.g.: Dispatch#invokeAsync}
The concrete classes need to call Stub#processAsync(Packet, RequestContext, CompletionCallback)
in
run() method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
responseImpl
protected AsyncResponseImpl responseImpl
- Because of the object instantiation order,
we can't take this as a constructor parameter.
AsyncInvoker
public AsyncInvoker()
setReceiver
public void setReceiver(AsyncResponseImpl responseImpl)
run
public void run()
- Specified by:
run
in interface Runnable
do_run
public abstract void do_run()