Interface RPCChain
- All Superinterfaces:
ChainableRPC,RPCExecutable,RPCProvider
- All Known Implementing Classes:
DefaultRPCChain
Represents a chain of rpc calls, each of them behaves exactly as described in
RPC and ChainableRPC.- Since:
- 4.0
-
Method Summary
Methods inherited from interface eu.cloudnetservice.driver.network.rpc.ChainableRPC
joinMethods inherited from interface eu.cloudnetservice.driver.network.rpc.RPCExecutable
fire, fire, fireAndForget, fireAndForget, fireSync, fireSyncMethods inherited from interface eu.cloudnetservice.driver.network.rpc.RPCProvider
dataBufFactory, objectMapper, targetClass
-
Method Details
-
head
Get the current last call of the chain (the head). All result expectations are based on this rpc.- Returns:
- the last call in the rpc chain.
-
joins
Get all joins of the rpc in the order in which they get called. The first call in the chain will be the first element of this collection (method call order).- Returns:
- all joins of the rpc in the order in which they get called.
-