Uses of Interface
eu.cloudnetservice.driver.network.rpc.object.ObjectMapper
Packages that use ObjectMapper
Package
Description
-
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc
Methods in eu.cloudnetservice.driver.network.rpc that return ObjectMapperModifier and TypeMethodDescriptionRPCFactory.defaultObjectMapper()Get the default object mapper used by this factory if no other mapper is supplied to a factory method.RPCProvider.objectMapper()Get the object mapper which is used for (de-) serialization of objects if needed.Methods in eu.cloudnetservice.driver.network.rpc with parameters of type ObjectMapperModifier 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 ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults
Fields in eu.cloudnetservice.driver.network.rpc.defaults declared as ObjectMapperModifier and TypeFieldDescriptionprotected final ObjectMapperDefaultRPCFactory.defaultObjectMapperprotected final ObjectMapperDefaultRPCProvider.objectMapperMethods in eu.cloudnetservice.driver.network.rpc.defaults that return ObjectMapperModifier and TypeMethodDescriptionDefaultRPCFactory.defaultObjectMapper()Get the default object mapper used by this factory if no other mapper is supplied to a factory method.DefaultRPCProvider.objectMapper()Get the object mapper which is used for (de-) serialization of objects if needed.Methods in eu.cloudnetservice.driver.network.rpc.defaults with parameters of type ObjectMapperModifier 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 ObjectMapperModifierConstructorDescriptionDefaultRPCFactory(@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 ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.handler
Constructors in eu.cloudnetservice.driver.network.rpc.defaults.handler with parameters of type ObjectMapperModifierConstructorDescriptionDefaultRPCHandler(@NonNull Class<?> clazz, @Nullable Object binding, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new default rpc handler instance. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.object
Classes in eu.cloudnetservice.driver.network.rpc.defaults.object that implement ObjectMapperModifier and TypeClassDescriptionclassThe default object mapper implementation.Fields in eu.cloudnetservice.driver.network.rpc.defaults.object declared as ObjectMapperMethods in eu.cloudnetservice.driver.network.rpc.defaults.object that return ObjectMapperModifier and TypeMethodDescription<T> @NonNull ObjectMapperDefaultObjectMapper.registerBinding(@NonNull Type type, @NonNull ObjectSerializer<T> serializer, boolean superTypes) Registers the given object serializer to this mapper, including all super types of the given type if requested.DefaultObjectMapper.unregisterBinding(@NonNull Type type, boolean superTypes) Unregisters all object serializers which were registered for the given type, include all super types of the given type if requested.DefaultObjectMapper.unregisterBindings(@NonNull ClassLoader classLoader) Unregisters all object serializers whose classes were loaded by the given class loader. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.object.data
Methods in eu.cloudnetservice.driver.network.rpc.defaults.object.data with parameters of type ObjectMapperModifier and TypeMethodDescriptionDataClassInvokerGenerator.DataClassInstanceCreator.makeInstance(@NonNull DataBuf buf, @NonNull ObjectMapper context) Provides a new instance of the data class reading the required arguments from the given buffer, deserializing them using the given object mapper.Reads the object from the buffer.DataClassSerializer.readArray(@NonNull DataBuf source, @NonNull Class<?> clazz, @NonNull ObjectMapper caller) Reads an array from the given data buf source.voidDataClassSerializer.write(DataBuf.Mutable dataBuf, @NonNull Object object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.protected voidDataClassSerializer.writeArray(DataBuf.Mutable dataBuf, @NonNull Object object, @NonNull ObjectMapper caller) Writes the given array to the given data buffer.voidDataClassInvokerGenerator.DataClassInformationWriter.writeInformation(DataBuf.Mutable target, @NonNull Object obj, @NonNull ObjectMapper context) Writes all included field values from the given object instance into the provided data buffer using the given object mapper to write them. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers
Methods in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers with parameters of type ObjectMapperModifier and TypeMethodDescriptionCollectionObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.DataBufableObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.DataBufObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.EnumObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.FunctionalObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.JsonDocumentObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.Reads the object from the buffer.OptionalObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.PathObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.PatternObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.UUIDObjectSerializer.read(@NonNull DataBuf source, @NonNull Type type, @NonNull ObjectMapper caller) Reads the object from the buffer.voidCollectionObjectSerializer.write(DataBuf.Mutable dataBuf, @Nullable Collection<?> object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidDataBufableObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull DataBufable object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidDataBufObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull DataBuf object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidEnumObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Enum<?> object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidFunctionalObjectSerializer.write(DataBuf.Mutable dataBuf, T object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidJsonDocumentObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull eu.cloudnetservice.common.document.gson.JsonDocument object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidMapObjectSerializer.write(DataBuf.Mutable dataBuf, @Nullable Map<?, ?> object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidOptionalObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Optional<?> object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidPathObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Path object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidPatternObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull Pattern object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.voidUUIDObjectSerializer.write(DataBuf.Mutable dataBuf, @NonNull UUID object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.rpc
Fields in eu.cloudnetservice.driver.network.rpc.defaults.rpc declared as ObjectMapperModifier and TypeFieldDescriptionprivate final @NonNull ObjectMapperRPCResultMapper.objectMapperThe field for theobjectMapperrecord component.Methods in eu.cloudnetservice.driver.network.rpc.defaults.rpc that return ObjectMapperModifier and TypeMethodDescriptionRPCResultMapper.objectMapper()Returns the value of theobjectMapperrecord component.Constructors in eu.cloudnetservice.driver.network.rpc.defaults.rpc with parameters of type ObjectMapperModifierConstructorDescriptionDefaultRPC(@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.(package private)RPCResultMapper(@NonNull Type expectedResultType, @NonNull ObjectMapper objectMapper) Creates an instance of aRPCResultMapperrecord class. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.defaults.sender
Constructors in eu.cloudnetservice.driver.network.rpc.defaults.sender with parameters of type ObjectMapperModifierConstructorDescriptionDefaultRPCSender(@NonNull RPCFactory factory, @Nullable NetworkComponent component, @NonNull Class<?> targetClass, @NonNull ObjectMapper objectMapper, @NonNull DataBufFactory dataBufFactory) Constructs a new default rpc sender instance. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.generation
Fields in eu.cloudnetservice.driver.network.rpc.generation declared as ObjectMapperModifier and TypeFieldDescriptionprivate ObjectMapperGenerationContext.Builder.objectMapperprivate final @Nullable ObjectMapperGenerationContext.objectMapperThe field for theobjectMapperrecord component.Methods in eu.cloudnetservice.driver.network.rpc.generation that return ObjectMapperModifier and TypeMethodDescriptionGenerationContext.objectMapper()Returns the value of theobjectMapperrecord component.Methods in eu.cloudnetservice.driver.network.rpc.generation with parameters of type ObjectMapperModifier and TypeMethodDescriptionGenerationContext.Builder.objectMapper(@Nullable ObjectMapper objectMapper) Sets the object mapper responsible for mapping a databuf back to an object.Constructors in eu.cloudnetservice.driver.network.rpc.generation with parameters of type ObjectMapperModifierConstructorDescriptionGenerationContext(@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 ObjectMapper in eu.cloudnetservice.driver.network.rpc.listener
Methods in eu.cloudnetservice.driver.network.rpc.listener with parameters of type ObjectMapperModifier 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. -
Uses of ObjectMapper in eu.cloudnetservice.driver.network.rpc.object
Methods in eu.cloudnetservice.driver.network.rpc.object that return ObjectMapperModifier and TypeMethodDescription<T> @NonNull ObjectMapperObjectMapper.registerBinding(@NonNull Type type, @NonNull ObjectSerializer<T> serializer, boolean superTypes) Registers the given object serializer to this mapper, including all super types of the given type if requested.ObjectMapper.unregisterBinding(@NonNull Type type, boolean superTypes) Unregisters all object serializers which were registered for the given type, include all super types of the given type if requested.ObjectMapper.unregisterBindings(@NonNull ClassLoader classLoader) Unregisters all object serializers whose classes were loaded by the given class loader.Methods in eu.cloudnetservice.driver.network.rpc.object with parameters of type ObjectMapperModifier and TypeMethodDescriptiondefault booleanObjectSerializer.preReadCheckAccepts(@NonNull Type type, @NonNull ObjectMapper caller) A method being called before a serializer is chosen to deserialize an object of the given type.default booleanObjectSerializer.preWriteCheckAccepts(T object, @NonNull ObjectMapper caller) A method being called before a serializer is chosen to serialize the requested object.Reads the object from the buffer.voidObjectSerializer.write(DataBuf.Mutable dataBuf, T object, @NonNull Type type, @NonNull ObjectMapper caller) Writes the given object into the given buffer for network transfer and later deserialization.