Uses of Interface
eu.cloudnetservice.driver.network.buffer.DataBufFactory
Packages that use DataBufFactory
Package
Description
-
Uses of DataBufFactory in eu.cloudnetservice.driver.network.buffer
Methods in eu.cloudnetservice.driver.network.buffer that return DataBufFactoryModifier and TypeMethodDescriptionstatic @NonNull DataBufFactoryDataBufFactory.defaultFactory()Get the default factory for data buffers integrated into cloudnet. -
Uses of DataBufFactory in eu.cloudnetservice.driver.network.netty.buffer
Classes in eu.cloudnetservice.driver.network.netty.buffer that implement DataBufFactoryModifier and TypeClassDescriptionclassAn implementation (and currently the default one) of a data buf factory wrapping netty byte buffers. -
Uses of DataBufFactory in eu.cloudnetservice.driver.network.rpc
Methods in eu.cloudnetservice.driver.network.rpc that return DataBufFactoryModifier and TypeMethodDescriptionRPCProvider.dataBufFactory()Get the data buf factory which is used to allocate network data buffers if needed.RPCFactory.defaultDataBufFactory()Get the default data buf factory used by this factory if no other data buf factory is supplied to a factory method.Methods in eu.cloudnetservice.driver.network.rpc with parameters of type DataBufFactoryModifier and TypeMethodDescriptionRPCFactory.newHandler(@NonNull Class<?> clazz, @Nullable Object binding, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new rpc handler for the given class.RPCFactory.providerForClass(@Nullable NetworkComponent component, @NonNull Class<?> clazz, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new rpc sender for the given class. -
Uses of DataBufFactory in eu.cloudnetservice.driver.network.rpc.defaults
Fields in eu.cloudnetservice.driver.network.rpc.defaults declared as DataBufFactoryModifier and TypeFieldDescriptionprotected final DataBufFactoryDefaultRPCProvider.dataBufFactoryprotected final DataBufFactoryDefaultRPCFactory.defaultDataBufFactoryMethods in eu.cloudnetservice.driver.network.rpc.defaults that return DataBufFactoryModifier and TypeMethodDescriptionDefaultRPCProvider.dataBufFactory()Get the data buf factory which is used to allocate network data buffers if needed.DefaultRPCFactory.defaultDataBufFactory()Get the default data buf factory used by this factory if no other data buf factory is supplied to a factory method.Methods in eu.cloudnetservice.driver.network.rpc.defaults with parameters of type DataBufFactoryModifier and TypeMethodDescriptionDefaultRPCFactory.newHandler(@NonNull Class<?> clazz, @Nullable Object binding, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new rpc handler for the given class.DefaultRPCFactory.providerForClass(@Nullable NetworkComponent component, @NonNull Class<?> clazz, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new rpc sender for the given class.Constructors in eu.cloudnetservice.driver.network.rpc.defaults with parameters of type DataBufFactoryModifierConstructorDescriptionDefaultRPCFactory(@NonNull ObjectMapper defaultObjectMapper, @NonNull DataBufFactory defaultDataBufFactory) Constructs a new default rpc provider factory instance.protectedDefaultRPCProvider(@NonNull Class<?> targetClass, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new default rpc provider instance. -
Uses of DataBufFactory in eu.cloudnetservice.driver.network.rpc.defaults.handler
Constructors in eu.cloudnetservice.driver.network.rpc.defaults.handler with parameters of type DataBufFactoryModifierConstructorDescriptionDefaultRPCHandler(@NonNull Class<?> clazz, @Nullable Object binding, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new default rpc handler instance. -
Uses of DataBufFactory in eu.cloudnetservice.driver.network.rpc.defaults.rpc
Constructors in eu.cloudnetservice.driver.network.rpc.defaults.rpc with parameters of type DataBufFactoryModifierConstructorDescriptionDefaultRPC(@NonNull RPCSender sender, @NonNull Class<?> clazz, @NonNull String methodName, @NonNull Object[] arguments, @NonNull ObjectMapper objectMapper, @NonNull Type expectedResultType, @NonNull DataBufFactory dataBufFactory) Constructs a new default rpc instance. -
Uses of DataBufFactory in eu.cloudnetservice.driver.network.rpc.defaults.sender
Constructors in eu.cloudnetservice.driver.network.rpc.defaults.sender with parameters of type DataBufFactoryModifierConstructorDescriptionDefaultRPCSender(@NonNull RPCFactory factory, @Nullable NetworkComponent component, @NonNull Class<?> targetClass, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new default rpc sender instance. -
Uses of DataBufFactory in eu.cloudnetservice.driver.network.rpc.generation
Fields in eu.cloudnetservice.driver.network.rpc.generation declared as DataBufFactoryModifier and TypeFieldDescriptionprivate DataBufFactoryGenerationContext.Builder.dataBufFactoryprivate final @Nullable DataBufFactoryGenerationContext.dataBufFactoryThe field for thedataBufFactoryrecord component.Methods in eu.cloudnetservice.driver.network.rpc.generation that return DataBufFactoryModifier and TypeMethodDescriptionGenerationContext.dataBufFactory()Returns the value of thedataBufFactoryrecord component.Methods in eu.cloudnetservice.driver.network.rpc.generation with parameters of type DataBufFactoryModifier and TypeMethodDescriptionGenerationContext.Builder.dataBufFactory(@Nullable DataBufFactory dataBufFactory) Sets the databuf factory to use when creating databufs for the generation.Constructors in eu.cloudnetservice.driver.network.rpc.generation with parameters of type DataBufFactoryModifierConstructorDescriptionGenerationContext(@Nullable NetworkComponent component, @Nullable Supplier<NetworkChannel> channelSupplier, @Nullable ObjectMapper objectMapper, @Nullable DataBufFactory dataBufFactory, @Nullable Class<?> extendingClass, @NonNull Set<Class<?>> interfaces, boolean implementAllMethods) Creates an instance of aGenerationContextrecord class. -
Uses of DataBufFactory in eu.cloudnetservice.driver.network.rpc.listener
Methods in eu.cloudnetservice.driver.network.rpc.listener with parameters of type DataBufFactoryModifier and TypeMethodDescriptionRPCPacketListener.serializeResult(RPCHandler.HandlingResult result, @NonNull DataBufFactory dataBufFactory, @NonNull ObjectMapper objectMapper, @NonNull RPCInvocationContext context) Serializes the given handling result into a newly allocated buffer using the given data buf factory.