Uses of Interface
eu.cloudnetservice.driver.network.rpc.handler.RPCInvocationResult
Packages that use RPCInvocationResult
Package
Description
-
Uses of RPCInvocationResult in eu.cloudnetservice.driver.network.rpc.defaults.handler
Methods in eu.cloudnetservice.driver.network.rpc.defaults.handler that return types with arguments of type RPCInvocationResultModifier and TypeMethodDescriptionDefaultRPCHandler.handle(@NonNull RPCInvocationContext context) Handles the given rpc context using the information of this handler. -
Uses of RPCInvocationResult in eu.cloudnetservice.driver.network.rpc.handler
Classes in eu.cloudnetservice.driver.network.rpc.handler that implement RPCInvocationResultModifier and TypeClassDescriptionstatic final recordRepresents an invocation result for an invocation that cannot be processed due to bad data sent by the client.static final recordRepresents an invocation during which the target method threw an exception.static final recordRepresents an invocation result for an invocation that failed because there was some mismatch on the server side that caused the request to be unprocessable.static final recordRepresents a successful method invocation via RPC.Methods in eu.cloudnetservice.driver.network.rpc.handler that return types with arguments of type RPCInvocationResultModifier and TypeMethodDescriptionRPCHandler.handle(@NonNull RPCInvocationContext context) Handles the given rpc context using the information of this handler. -
Uses of RPCInvocationResult in eu.cloudnetservice.driver.network.rpc.listener
Methods in eu.cloudnetservice.driver.network.rpc.listener that return types with arguments of type RPCInvocationResultModifier and TypeMethodDescriptionRPCPacketListener.postRPCRequestToHandler(@NonNull String targetClassName, @NonNull RPCInvocationContext context) Posts the given RPC invocation context to the RPC handler that is registered for the class with the given name.Methods in eu.cloudnetservice.driver.network.rpc.listener with parameters of type RPCInvocationResultModifier and TypeMethodDescriptionRPCPacketListener.serializeHandlingResult(@Nullable RPCInvocationResult invocationResult) Serializes the result of the RPC handling process into a data buffer.Method parameters in eu.cloudnetservice.driver.network.rpc.listener with type arguments of type RPCInvocationResultModifier and TypeMethodDescriptionprivate voidRPCPacketListener.waitForInvocationCompletion(@Nullable CompletableFuture<RPCInvocationResult> invocationTask, @NonNull Consumer<RPCInvocationResult> callback) Waits for the given invocation task to finish, calling the callback if that is the case.private voidRPCPacketListener.waitForInvocationCompletion(@Nullable CompletableFuture<RPCInvocationResult> invocationTask, @NonNull Consumer<RPCInvocationResult> callback) Waits for the given invocation task to finish, calling the callback if that is the case.