|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientBinding
Provides methods for invoking operations on an endpoint.
Method Summary | |
---|---|
ObjectMessageContext |
invoke(ObjectMessageContext context,
DataBindingCallback callback)
Makes a synchronous request and returns the context containing the response. |
Future<ObjectMessageContext> |
invokeAsync(ObjectMessageContext context,
DataBindingCallback callback,
Executor executor)
Makes an asynchronous request using the contents of the ObjectMessageContext . |
void |
invokeOneWay(ObjectMessageContext context,
DataBindingCallback callback)
Makes a one way request using the contents of the ObjectMessageContext . |
Methods inherited from interface org.objectweb.celtix.bindings.BindingBase |
---|
createHandlerInvoker, createObjectContext, getBinding, isCompatibleWithAddress |
Method Detail |
---|
void invokeOneWay(ObjectMessageContext context, DataBindingCallback callback) throws IOException
ObjectMessageContext
.
context
- Holds the method and parameters for the request.callback
- Callback object to handle the IO of the objects in the context
IOException
ObjectMessageContext invoke(ObjectMessageContext context, DataBindingCallback callback) throws IOException
context
- Holds the method and parameters for the request.callback
- Callback object to handle the IO of the objects in the context
IOException
Future<ObjectMessageContext> invokeAsync(ObjectMessageContext context, DataBindingCallback callback, Executor executor) throws IOException
ObjectMessageContext
.
context
- Holds the method and parameters for the request.callback
- Callback object to handle the IO of the objects in the context
IOException
|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |