Uses of Record Class
eu.cloudnetservice.driver.network.rpc.generation.GenerationContext
Packages that use GenerationContext
Package
Description
-
Uses of GenerationContext in eu.cloudnetservice.driver.network.rpc
Methods in eu.cloudnetservice.driver.network.rpc with parameters of type GenerationContextModifier and TypeMethodDescription<T> @NonNull InstanceFactory<T>RPCFactory.generateRPCBasedApi(@NonNull Class<T> baseClass, @NonNull GenerationContext context) Generates an api implementation for the given base class, invoking all of its method using rpc.<T> @NonNull ChainInstanceFactory<T>RPCFactory.generateRPCChainBasedApi(@NonNull RPCSender baseSender, @NonNull Class<T> chainBaseClass, @NonNull GenerationContext context) Generates an api implementation for the given base class, invoking all of its method using a chained rpc call.<T> @NonNull ChainInstanceFactory<T>RPCFactory.generateRPCChainBasedApi(@NonNull RPCSender baseSender, @NonNull String baseCallerMethod, @NonNull Class<T> chainBaseClass, @NonNull GenerationContext context) Generates an api implementation for the given base class, invoking all of its method using a chained rpc call. -
Uses of GenerationContext in eu.cloudnetservice.driver.network.rpc.defaults
Fields in eu.cloudnetservice.driver.network.rpc.defaults with type parameters of type GenerationContextModifier and TypeFieldDescriptionprotected final com.google.common.collect.Table<String,GenerationContext, ChainInstanceFactory<?>> DefaultRPCFactory.chainFactoryCacheprotected final com.github.benmanes.caffeine.cache.Cache<GenerationContext,InstanceFactory<?>> DefaultRPCFactory.generatedApiCacheMethods in eu.cloudnetservice.driver.network.rpc.defaults with parameters of type GenerationContextModifier and TypeMethodDescription<T> @NonNull InstanceFactory<T>DefaultRPCFactory.generateRPCBasedApi(@NonNull Class<T> baseClass, @NonNull GenerationContext context) Generates an api implementation for the given base class, invoking all of its method using rpc.<T> @NonNull ChainInstanceFactory<T>DefaultRPCFactory.generateRPCChainBasedApi(@NonNull RPCSender baseSender, @NonNull Class<T> chainBaseClass, @NonNull GenerationContext context) Generates an api implementation for the given base class, invoking all of its method using a chained rpc call.<T> @NonNull ChainInstanceFactory<T>DefaultRPCFactory.generateRPCChainBasedApi(@NonNull RPCSender baseSender, @NonNull String baseCallerMethod, @NonNull Class<T> chainBaseClass, @NonNull GenerationContext context) Generates an api implementation for the given base class, invoking all of its method using a chained rpc call.DefaultRPCFactory.senderFromGenerationContext(@NonNull GenerationContext context, @NonNull Class<?> base) Constructs a new rpc sender for the given base class and using the options supplied by the given generation context. -
Uses of GenerationContext in eu.cloudnetservice.driver.network.rpc.defaults.generation
Methods in eu.cloudnetservice.driver.network.rpc.defaults.generation with parameters of type GenerationContextModifier and TypeMethodDescription(package private) static @NonNull Collection<Method>ApiImplementationGenerator.collectMethodsToVisit(@NonNull GenerationContext context) Collects all methods based on the given context which should get implemented.static <T> @NonNull InstanceFactory<T>ApiImplementationGenerator.generateApiImplementation(@NonNull Class<T> baseClass, @NonNull GenerationContext context, @NonNull RPCSender sender) Generates an implementation of a class sending rpc requests based on the given generation context.static <T> @NonNull ChainInstanceFactory<T>ChainedApiImplementationGenerator.generateApiImplementation(@NonNull Class<T> baseClass, @NonNull GenerationContext context, @NonNull RPCSender classSender, @NonNull Function<Object[], RPC> rpcFactory) (package private) static voidApiImplementationGenerator.visitFireMethod(@NonNull Method method, @NonNull org.objectweb.asm.MethodVisitor mv, @NonNull String className, @NonNull GenerationContext context) Decides whichRPCExecutable.fire()method is appropriate to call for the return type of this method and generates the call on theRPCthat was generated previously. -
Uses of GenerationContext in eu.cloudnetservice.driver.network.rpc.generation
Methods in eu.cloudnetservice.driver.network.rpc.generation that return GenerationContextModifier and TypeMethodDescriptionGenerationContext.Builder.build()Builds a new generation context based on this builder.