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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRPCProvider.Builder<B extends RPCProvider.Builder<B>>A base builder that can be used for everything that implements RPC provider. -
Method Summary
Modifier and TypeMethodDescriptionGet the data buf factory which is used to allocate network data buffers if needed.Get the object mapper which is used for (de-) serialization of objects if needed.Get the rpc factory that constructed this rpc provider object.Get the class which is targeted by the associated rpc.
-
Method Details
-
targetClass
-
objectMapper
Get the object mapper which is used for (de-) serialization of objects if needed.- Returns:
- the associated object mapper.
-
dataBufFactory
Get the data buf factory which is used to allocate network data buffers if needed.- Returns:
- the associated data buf factory.
-
sourceFactory
Get the rpc factory that constructed this rpc provider object.- Returns:
- the rpc factory that constructed this rpc provider object.
-