Record Class RPCInvocationResult.Success

java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.network.rpc.handler.RPCInvocationResult.Success
Record Components:
invocationResult - the value returned from the method invocation.
invocationHandler - the handler that handled the invocation request.
invokedMethod - the method that was invoked during handling of the RPC request.
All Implemented Interfaces:
RPCInvocationResult
Enclosing interface:
RPCInvocationResult

public static record RPCInvocationResult.Success(@Nullable Object invocationResult, @NonNull RPCHandler invocationHandler, @NonNull RPCMethodMetadata invokedMethod) extends Record implements RPCInvocationResult
Represents a successful method invocation via RPC. This wraps the value returned by the called method.
Since:
4.0