Interface RpcServer.Handler

Enclosing interface:
RpcServer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RpcServer.Handler
Contract to process a request message and return a reply message.
  • Method Details

    • handle

      Message handle(RpcServer.Context ctx, Message request)
      Process request message.
      Parameters:
      ctx - context
      request - request message
      Returns:
      the reply message