Package com.sun.xml.ws.client
Class AsyncInvoker
java.lang.Object
com.sun.xml.ws.client.AsyncInvoker
- All Implemented Interfaces:
Runnable
Invokes
Tubeline asynchronously for the client's async API(for e.g.: Dispatch#invokeAsync}
The concrete classes need to call Stub.processAsync(AsyncResponseImpl, Packet, RequestContext, Fiber.CompletionCallback) in
run() method.- Author:
- Jitendra Kotamraju
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected AsyncResponseImplBecause of the object instantiation order, we can't take this as a constructor parameter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddo_run()booleanvoidrun()voidsetNonNullAsyncHandlerGiven(boolean nonNullAsyncHandlerGiven) voidsetReceiver(AsyncResponseImpl responseImpl) voidsetResponseImpl(AsyncResponseImpl responseImpl)
-
Field Details
-
responseImpl
Because of the object instantiation order, we can't take this as a constructor parameter. -
nonNullAsyncHandlerGiven
protected boolean nonNullAsyncHandlerGiven
-
-
Constructor Details
-
AsyncInvoker
protected AsyncInvoker()Default constructor.
-
-
Method Details
-
setReceiver
-
getResponseImpl
-
setResponseImpl
-
isNonNullAsyncHandlerGiven
public boolean isNonNullAsyncHandlerGiven() -
setNonNullAsyncHandlerGiven
public void setNonNullAsyncHandlerGiven(boolean nonNullAsyncHandlerGiven) -
run
public void run() -
do_run
public abstract void do_run()
-