Record Class DefaultHandlingResult

java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.network.rpc.defaults.handler.DefaultHandlingResult
Record Components:
wasSuccessful - if the method invocation was successful or ended by an exception.
invocationResult - the result of the method invocation.
invocationHandler - the handler which is responsible for the class the method wss invoked in.
targetMethodInformation - the information of the method which was invoked.
All Implemented Interfaces:
RPCHandler.HandlingResult

public record DefaultHandlingResult(boolean wasSuccessful, @Nullable Object invocationResult, @NonNull RPCHandler invocationHandler, @NonNull MethodInformation targetMethodInformation) extends Record implements RPCHandler.HandlingResult
Represents the result of a method invocation.
Since:
4.0