Interface RPCProvider

All Known Subinterfaces:
ChainableRPC, RPC, RPCChain, RPCHandler, RPCSender

public interface RPCProvider
The base class implemented by anything which is related to rpc.
Since:
4.0
  • Method Details

    • targetClass

      @NonNull @NonNull Class<?> targetClass()
      Get the class which is targeted by the associated rpc.
      Returns:
      the target class.
    • objectMapper

      Get the object mapper which is used for (de-) serialization of objects if needed.
      Returns:
      the associated object mapper.
    • dataBufFactory

      @NonNull @NonNull DataBufFactory dataBufFactory()
      Get the data buf factory which is used to allocate network data buffers if needed.
      Returns:
      the associated data buf factory.
    • sourceFactory

      @NonNull @NonNull RPCFactory sourceFactory()
      Get the rpc factory that constructed this rpc provider object.
      Returns:
      the rpc factory that constructed this rpc provider object.