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 Type
    Method
    Description
    void
    ensure(Class<?> returnType, Class<?> paramCls)
    Ensure 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 useful
    void
    invoke(Object proxy, Method method, io.vertx.core.eventbus.Message<Envelop> message)
    Invoke method and replying
    void
    next(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

      void ensure(Class<?> returnType, Class<?> paramCls)
      Ensure correct invoking
      Parameters:
      returnType - Method return type
      paramCls - Method parameters
    • invoke

      void invoke(Object proxy, Method method, io.vertx.core.eventbus.Message<Envelop> message)
      Invoke method and replying
      Parameters:
      proxy - Proxy object reference
      method - Method reference for reflection
      message - 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 reference
      method - Method reference for reflection
      message - Message handler
      vertx - 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 Type
      O - Output Type
      Parameters:
      proxy - Proxy object reference
      method - Method reference for reflection
      input - Envelop as input part
      handler - Async Handler to handle returned T