Uses of Interface
eu.cloudnetservice.driver.network.rpc.RPCInvocationContext.Builder
Packages that use RPCInvocationContext.Builder
Package
Description
-
Uses of RPCInvocationContext.Builder in eu.cloudnetservice.driver.network.rpc
Methods in eu.cloudnetservice.driver.network.rpc that return RPCInvocationContext.BuilderModifier and TypeMethodDescriptionRPCInvocationContext.Builder.argumentCount(int argumentCount) Sets the amount of arguments the target method to invoke must have.RPCInvocationContext.Builder.argumentInformation(@NonNull DataBuf information) Sets the buffer containing the argument information for the method invocation.RPCInvocationContext.builder()Get a new builder instance for a rpc invocation context.RPCInvocationContext.Builder.channel(@NonNull NetworkChannel channel) Sets the channel from which the request to invoke the method came.RPCInvocationContext.Builder.expectsMethodResult(boolean expectsResult) Sets if the sender of the rpc expects a method result.RPCInvocationContext.Builder.methodName(@NonNull String methodName) Sets the name of the method which should get invoked during the requested rpc processing.RPCInvocationContext.Builder.normalizePrimitives(boolean normalizePrimitives) Sets if primitives should get normalized, meaning that if a null value is returned in a call chain but the method returns a primitive type, the response will be the default value of that primitive rather than null.RPCInvocationContext.Builder.strictInstanceUsage(boolean strictInstanceUsage) Sets if the handler is only allowed to use the supplied instance through the invocation context rather than the instance it is bound to (if any).RPCInvocationContext.Builder.workingInstance(@Nullable Object instance) Sets the instance which should get used for method invocation, might be null if no specific instance should be used. -
Uses of RPCInvocationContext.Builder in eu.cloudnetservice.driver.network.rpc.defaults.handler.context
Classes in eu.cloudnetservice.driver.network.rpc.defaults.handler.context that implement RPCInvocationContext.BuilderModifier and TypeClassDescriptionclassThe default implementation of a rpc invocation context builder.Methods in eu.cloudnetservice.driver.network.rpc.defaults.handler.context that return RPCInvocationContext.BuilderModifier and TypeMethodDescriptionDefaultRPCInvocationContextBuilder.argumentCount(int argumentCount) Sets the amount of arguments the target method to invoke must have.DefaultRPCInvocationContextBuilder.argumentInformation(@NonNull DataBuf information) Sets the buffer containing the argument information for the method invocation.DefaultRPCInvocationContextBuilder.channel(@NonNull NetworkChannel channel) Sets the channel from which the request to invoke the method came.DefaultRPCInvocationContextBuilder.expectsMethodResult(boolean expectsResult) Sets if the sender of the rpc expects a method result.DefaultRPCInvocationContextBuilder.methodName(@NonNull String methodName) Sets the name of the method which should get invoked during the requested rpc processing.DefaultRPCInvocationContextBuilder.normalizePrimitives(boolean normalizePrimitives) Sets if primitives should get normalized, meaning that if a null value is returned in a call chain but the method returns a primitive type, the response will be the default value of that primitive rather than null.DefaultRPCInvocationContextBuilder.strictInstanceUsage(boolean strictInstanceUsage) Sets if the handler is only allowed to use the supplied instance through the invocation context rather than the instance it is bound to (if any).DefaultRPCInvocationContextBuilder.workingInstance(@Nullable Object instance) Sets the instance which should get used for method invocation, might be null if no specific instance should be used.