Annotation Type RRemoteRx


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

    All method signatures must match with remote service interface, but return type must be one of the following:

    • io.reactivex.rxjava3.core.Completable
    • io.reactivex.rxjava3.core.Single
    • io.reactivex.rxjava3.core.Maybe

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

    Author:
    Nikita Koksharov
    See Also:
    Completable, Single, Maybe
    • 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