Annotation Type RRemoteAsync


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface RRemoteAsync
    Annotation used to mark interface as asynchronous client interface for remote service interface.

    All method signatures must match with remote service interface, but return type must be io.netty.util.concurrent.Future.

    It's not necessary to add all methods from remote service. Add only those which are needed.

    Author:
    Nikita Koksharov
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<?> value
      Remote interface class used to register
    • Element Detail

      • value

        Class<?> value
        Remote interface class used to register
        Returns:
        class used to register