Package io.vertx.up.uca.invoker
Interface Invoker
- All Known Implementing Classes:
AbstractInvoker,AsyncInvoker,DimInvoker,DynamicInvoker,FutureInvoker,MessageInvoker,PingInvoker,PingTInvoker,SyncInvoker
public interface Invoker
Replier for method invoking
-
Method Summary
Modifier and TypeMethodDescriptionvoidEnsure correct invoking<I,O> void handle(Object proxy, Method method, I input, io.vertx.core.Handler<io.vertx.core.AsyncResult<O>> handler) Invoke method normalized, this api may be more usefulvoidInvoke method and replyingvoidnext(Object proxy, Method method, io.vertx.core.eventbus.Message<Envelop> message, io.vertx.core.Vertx vertx) Invoke method and ( Ipc ) then replying
-
Method Details
-
ensure
Ensure correct invoking- Parameters:
returnType- Method return typeparamCls- Method parameters
-
invoke
Invoke method and replying- Parameters:
proxy- Proxy object referencemethod- Method reference for reflectionmessage- Message handler
-
next
void next(Object proxy, Method method, io.vertx.core.eventbus.Message<Envelop> message, io.vertx.core.Vertx vertx) Invoke method and ( Ipc ) then replying- Parameters:
proxy- Proxy object referencemethod- Method reference for reflectionmessage- Message handlervertx- Vertx reference
-
handle
<I,O> void handle(Object proxy, Method method, I input, io.vertx.core.Handler<io.vertx.core.AsyncResult<O>> handler) Invoke method normalized, this api may be more useful- Type Parameters:
I- Input TypeO- Output Type- Parameters:
proxy- Proxy object referencemethod- Method reference for reflectioninput- Envelop as input parthandler- Async Handler to handle returned T
-