public interface InvocationController
invoke(InvocationContext)
method. This is a
blocking, request/response call to the web service.
2) one-way - This is represented by the invokeOneWay(InvocationContext)
method. This is
a one-way invocation that only returns errors related to sending the message. If an error occurs
while processing, the client will not be notified.
3) asynchronous (callback) - invokeAsync(InvocationContext, AsyncHandler)
4) asynchronous (polling) - invokeAsync(InvocationContext)
Modifier and Type | Method and Description |
---|---|
InvocationContext |
invoke(InvocationContext ic)
Performs a synchronous (blocking) invocation of a target service.
|
Response |
invokeAsync(InvocationContext ic)
Performs an asynchronous (non-blocking) invocation of the client based on a callback model.
|
Future<?> |
invokeAsync(InvocationContext ic,
AsyncHandler asyncHandler)
Performs an asynchronous (non-blocking) invocation of the client based on a polling model.
|
void |
invokeOneWay(InvocationContext ic)
Performs a one-way invocation of the client.
|
InvocationContext invoke(InvocationContext ic)
ic
- void invokeOneWay(InvocationContext ic) throws Exception
ic
- Exception
Response invokeAsync(InvocationContext ic)
ic
- callback
- Future<?> invokeAsync(InvocationContext ic, AsyncHandler asyncHandler)
ic
- Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.