Package 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
InvokesTubeline asynchronously for the client's async API(for e.g.: Dispatch#invokeAsync} The concrete classes need to callStub.processAsync(AsyncResponseImpl, Packet, RequestContext, Fiber.CompletionCallback)in run() method.- Author:
- Jitendra Kotamraju
-
-
Field Summary
Fields Modifier and Type Field Description protected booleannonNullAsyncHandlerGivenprotected AsyncResponseImplresponseImplBecause of the object instantiation order, we can't take this as a constructor parameter.
-
Constructor Summary
Constructors Constructor Description AsyncInvoker()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voiddo_run()AsyncResponseImplgetResponseImpl()booleanisNonNullAsyncHandlerGiven()voidrun()voidsetNonNullAsyncHandlerGiven(boolean nonNullAsyncHandlerGiven)voidsetReceiver(AsyncResponseImpl responseImpl)voidsetResponseImpl(AsyncResponseImpl responseImpl)
-
-
-
Field Detail
-
responseImpl
protected AsyncResponseImpl responseImpl
Because of the object instantiation order, we can't take this as a constructor parameter.
-
nonNullAsyncHandlerGiven
protected boolean nonNullAsyncHandlerGiven
-
-
Method Detail
-
setReceiver
public void setReceiver(AsyncResponseImpl responseImpl)
-
getResponseImpl
public AsyncResponseImpl getResponseImpl()
-
setResponseImpl
public void setResponseImpl(AsyncResponseImpl responseImpl)
-
isNonNullAsyncHandlerGiven
public boolean isNonNullAsyncHandlerGiven()
-
setNonNullAsyncHandlerGiven
public void setNonNullAsyncHandlerGiven(boolean nonNullAsyncHandlerGiven)
-
do_run
public abstract void do_run()
-
-