Uses of Interface
eu.cloudnetservice.driver.network.rpc.handler.RPCHandler
Packages that use RPCHandler
-
Uses of RPCHandler in eu.cloudnetservice.driver.network.rpc.handler
Fields in eu.cloudnetservice.driver.network.rpc.handler declared as RPCHandlerModifier and TypeFieldDescriptionprivate final @NonNull RPCHandlerRPCInvocationResult.BadRequest.invocationHandlerThe field for theinvocationHandlerrecord component.private final @NonNull RPCHandlerRPCInvocationResult.Failure.invocationHandlerThe field for theinvocationHandlerrecord component.private final @NonNull RPCHandlerRPCInvocationResult.ServerError.invocationHandlerThe field for theinvocationHandlerrecord component.private final @NonNull RPCHandlerRPCInvocationResult.Success.invocationHandlerThe field for theinvocationHandlerrecord component.Methods in eu.cloudnetservice.driver.network.rpc.handler that return RPCHandlerModifier and TypeMethodDescriptionRPCHandler.Builder.build()Builds a new RPC handler based on the options provided to this builder.Get the handler which is registered for the given target class or null if no handler for the class is registered.Get the handler which is registered for the given class by its name or null if no handler for the class is registered.RPCInvocationResult.BadRequest.invocationHandler()Returns the value of theinvocationHandlerrecord component.RPCInvocationResult.Failure.invocationHandler()Returns the value of theinvocationHandlerrecord component.RPCInvocationResult.invocationHandler()Get the handler that did handle the RPC request.RPCInvocationResult.ServerError.invocationHandler()Returns the value of theinvocationHandlerrecord component.RPCInvocationResult.Success.invocationHandler()Returns the value of theinvocationHandlerrecord component.Methods in eu.cloudnetservice.driver.network.rpc.handler that return types with arguments of type RPCHandlerModifier and TypeMethodDescriptionRPCHandlerRegistry.registeredHandlers()Get all handlers which are registered to this registry.Methods in eu.cloudnetservice.driver.network.rpc.handler with parameters of type RPCHandlerModifier and TypeMethodDescriptionbooleanRPCHandlerRegistry.registerHandler(@NonNull RPCHandler rpcHandler) Registers the given handler to this registry, replacing the handler which was registered previously for the target class of the handler.booleanRPCHandlerRegistry.unregisterHandler(@NonNull RPCHandler rpcHandler) Unregisters the given rpc handler from this registry if previously registered.Constructors in eu.cloudnetservice.driver.network.rpc.handler with parameters of type RPCHandlerModifierConstructorDescriptionBadRequest(@NonNull String detailMessage, @NonNull RPCHandler invocationHandler) Creates an instance of aBadRequestrecord class.Failure(@NonNull Throwable caughtException, @NonNull RPCHandler invocationHandler, @NonNull RPCMethodMetadata invokedMethod) Creates an instance of aFailurerecord class.ServerError(@NonNull String detailMessage, @NonNull RPCHandler invocationHandler) Creates an instance of aServerErrorrecord class.Success(@Nullable Object invocationResult, @NonNull RPCHandler invocationHandler, @NonNull RPCMethodMetadata invokedMethod) Creates an instance of aSuccessrecord class.