Uses of Interface
eu.cloudnetservice.driver.network.buffer.DataBuf
Packages that use DataBuf
Package
Description
-
Uses of DataBuf in eu.cloudnetservice.driver.channel
Fields in eu.cloudnetservice.driver.channel declared as DataBufModifier and TypeFieldDescriptionprivate DataBufChannelMessage.Builder.contentChannelMessage.contentThe field for thecontentrecord component.Methods in eu.cloudnetservice.driver.channel that return DataBufModifier and TypeMethodDescriptionChannelMessage.content()Returns the value of thecontentrecord component.Methods in eu.cloudnetservice.driver.channel with parameters of type DataBufModifier and TypeMethodDescriptionSets the content of this message.Constructors in eu.cloudnetservice.driver.channel with parameters of type DataBufModifierConstructorDescriptionChannelMessage(boolean sendSync, boolean prioritized, @NonNull String channel, @NonNull String message, @NonNull DataBuf content, @NonNull ChannelMessageSender sender, @NonNull Collection<ChannelMessageTarget> targets) Creates an instance of aChannelMessagerecord class. -
Uses of DataBuf in eu.cloudnetservice.driver.document
Methods in eu.cloudnetservice.driver.document with parameters of type DataBufModifier and TypeMethodDescriptionParses a document of the factory supported document type from the given data buf. -
Uses of DataBuf in eu.cloudnetservice.driver.document.empty
Methods in eu.cloudnetservice.driver.document.empty with parameters of type DataBufModifier and TypeMethodDescriptionParses a document of the factory supported document type from the given data buf. -
Uses of DataBuf in eu.cloudnetservice.driver.document.gson
Methods in eu.cloudnetservice.driver.document.gson with parameters of type DataBufModifier and TypeMethodDescriptionParses a document of the factory supported document type from the given data buf. -
Uses of DataBuf in eu.cloudnetservice.driver.event.events.channel
Methods in eu.cloudnetservice.driver.event.events.channel that return DataBufModifier and TypeMethodDescriptionChannelMessageReceiveEvent.content()Get the content of the channel message.Methods in eu.cloudnetservice.driver.event.events.channel with parameters of type DataBufModifier and TypeMethodDescriptionvoidChannelMessageReceiveEvent.binaryResponse(@NonNull DataBuf dataBuf) Sets the response of this channel message to a channel message which just contains the given buffer as the content of it. -
Uses of DataBuf in eu.cloudnetservice.driver.network.buffer
Subinterfaces of DataBuf in eu.cloudnetservice.driver.network.bufferModifier and TypeInterfaceDescriptionstatic interfaceRepresents a mutable version of a data buf.Methods in eu.cloudnetservice.driver.network.buffer that return DataBufModifier and TypeMethodDescriptionDataBuf.acquire()Acquires this buffer once.DataBuf.Mutable.asImmutable()Converts this buffer into an immutable version of it.Creates a readonly copy of the given data buffer.DataBufFactory.fromBytes(byte[] bytes) Creates a new readonly buffer wrapping the given byte array and using it as it's data source.DataBuf.readDataBuf()Reads the next data buf from the buffer.DataBuf.redoTransaction()Redoes the currently running transaction on the buffer.DataBuf.startTransaction()Starts a transaction to the buffer.Methods in eu.cloudnetservice.driver.network.buffer with parameters of type DataBufModifier and TypeMethodDescriptionCreates a readonly copy of the given data buffer.DataBufFactory.mutableCopyOf(@NonNull DataBuf dataBuf) Creates a mutable copy of the given data buffer.voidReads all data of this object from the given buffer.DataBuf.Mutable.writeDataBuf(@NonNull DataBuf buf) Writes all data of the given data buffer into this data buffer starting at the current reader index of the given buffer.Method parameters in eu.cloudnetservice.driver.network.buffer with type arguments of type DataBufModifier and TypeMethodDescription<T> TDataBuf.readNullable(@NonNull Function<DataBuf, T> readerWhenNonNull) Reads the next requested data from the buffer.<T> TDataBuf.readNullable(@NonNull Function<DataBuf, T> readerWhenNonNull, T valueWhenNull) Reads the next requested data from the buffer. -
Uses of DataBuf in eu.cloudnetservice.driver.network.chunk
Methods in eu.cloudnetservice.driver.network.chunk with parameters of type DataBufModifier and TypeMethodDescriptionbooleanChunkedPacketHandler.handleChunkPart(int chunkPosition, @NonNull DataBuf dataBuf) Handles a part of chunked data which gets supplied to the current component.ChunkedPacketSender.Builder.withExtraData(@NonNull DataBuf extraData) Sets the extra information provided to each target component when opening a chunked session. -
Uses of DataBuf in eu.cloudnetservice.driver.network.chunk.data
Fields in eu.cloudnetservice.driver.network.chunk.data declared as DataBufMethods in eu.cloudnetservice.driver.network.chunk.data that return DataBufModifier and TypeMethodDescriptionChunkSessionInformation.transferInformation()Get the buffer containing additional information about the transfer.Methods in eu.cloudnetservice.driver.network.chunk.data with parameters of type DataBufModifier and TypeMethodDescriptionvoidReads all data of this object from the given buffer.Constructors in eu.cloudnetservice.driver.network.chunk.data with parameters of type DataBuf -
Uses of DataBuf in eu.cloudnetservice.driver.network.chunk.defaults
Methods in eu.cloudnetservice.driver.network.chunk.defaults with parameters of type DataBufModifier and TypeMethodDescriptionbooleanDefaultFileChunkedPacketHandler.handleChunkPart(int chunkPosition, @NonNull DataBuf dataBuf) Handles a part of chunked data which gets supplied to the current component.protected voidDefaultFileChunkedPacketHandler.writePacketContent(int chunkPosition, @NonNull DataBuf dataBuf) Writes the content of a chunk part to the backing file, increasing the amount of written bytes by one. -
Uses of DataBuf in eu.cloudnetservice.driver.network.chunk.defaults.builder
Fields in eu.cloudnetservice.driver.network.chunk.defaults.builder declared as DataBufModifier and TypeFieldDescriptionprivate static final DataBufDefaultChunkedFileQueryBuilder.EMPTY_BUFFERprotected DataBufDefaultChunkedPacketSenderBuilder.transferInformationMethods in eu.cloudnetservice.driver.network.chunk.defaults.builder with parameters of type DataBufModifier and TypeMethodDescriptionDefaultChunkedPacketSenderBuilder.withExtraData(@NonNull DataBuf extraData) Sets the extra information provided to each target component when opening a chunked session. -
Uses of DataBuf in eu.cloudnetservice.driver.network.chunk.event
Fields in eu.cloudnetservice.driver.network.chunk.event declared as DataBufMethods in eu.cloudnetservice.driver.network.chunk.event that return DataBufModifier and TypeMethodDescriptionFileQueryChannelMessageListener.constructRequestResponse(boolean transferStarted) Constructs the response data for a request.FileQueryRequestEvent.requestData()Get the full request content, possibly containing further information about the requested data.Constructors in eu.cloudnetservice.driver.network.chunk.event with parameters of type DataBufModifierConstructorDescriptionFileQueryRequestEvent(@NonNull String dataId, @NonNull DataBuf requestData) Constructs a new file query request event. -
Uses of DataBuf in eu.cloudnetservice.driver.network.chunk.network
Constructors in eu.cloudnetservice.driver.network.chunk.network with parameters of type DataBufModifierConstructorDescriptionprivateChunkedPacket(@NonNull DataBuf dataBuf) Constructs a new chunked transfer part packet. -
Uses of DataBuf in eu.cloudnetservice.driver.network.def
Constructors in eu.cloudnetservice.driver.network.def with parameters of type DataBufModifierConstructorDescriptionPacketClientAuthorization(@NonNull PacketClientAuthorization.PacketAuthorizationType type, @NonNull DataBuf dataBuf) Constructs a new authorization packet. -
Uses of DataBuf in eu.cloudnetservice.driver.network.netty.buffer
Classes in eu.cloudnetservice.driver.network.netty.buffer that implement DataBufModifier and TypeClassDescriptionclassThe default implementation of an immutable data buf wrapping a netty byte buf.classRepresents the default implementation of a mutable data buf, wrapping a netty byte buffer.Methods in eu.cloudnetservice.driver.network.netty.buffer that return DataBufModifier and TypeMethodDescriptionNettyImmutableDataBuf.acquire()Acquires this buffer once.NettyMutableDataBuf.asImmutable()Converts this buffer into an immutable version of it.Creates a readonly copy of the given data buffer.NettyDataBufFactory.fromBytes(byte[] bytes) Creates a new readonly buffer wrapping the given byte array and using it as it's data source.NettyImmutableDataBuf.readDataBuf()Reads the next data buf from the buffer.NettyImmutableDataBuf.redoTransaction()Redoes the currently running transaction on the buffer.NettyImmutableDataBuf.startTransaction()Starts a transaction to the buffer.Methods in eu.cloudnetservice.driver.network.netty.buffer with parameters of type DataBufModifier and TypeMethodDescriptionCreates a readonly copy of the given data buffer.NettyDataBufFactory.mutableCopyOf(@NonNull DataBuf dataBuf) Creates a mutable copy of the given data buffer.NettyMutableDataBuf.writeDataBuf(@NonNull DataBuf buf) Writes all data of the given data buffer into this data buffer starting at the current reader index of the given buffer.Method parameters in eu.cloudnetservice.driver.network.netty.buffer with type arguments of type DataBufModifier and TypeMethodDescription<T> TNettyImmutableDataBuf.readNullable(@NonNull Function<DataBuf, T> readerWhenNonNull) Reads the next requested data from the buffer.<T> TNettyImmutableDataBuf.readNullable(@NonNull Function<DataBuf, T> readerWhenNonNull, T valueWhenNull) Reads the next requested data from the buffer. -
Uses of DataBuf in eu.cloudnetservice.driver.network.protocol
Fields in eu.cloudnetservice.driver.network.protocol declared as DataBufMethods in eu.cloudnetservice.driver.network.protocol that return DataBufModifier and TypeMethodDescriptionBasePacket.content()Get the content of this packet.EmptyPacket.content()Get the content of this packet.Packet.content()Get the content of this packet.Methods in eu.cloudnetservice.driver.network.protocol with parameters of type DataBufModifier and TypeMethodDescriptionBasePacket.constructResponse(@NonNull DataBuf content) Constructs a new packet as a response to this packet.EmptyPacket.constructResponse(@NonNull DataBuf content) Constructs a new packet as a response to this packet.Packet.constructResponse(@NonNull DataBuf content) Constructs a new packet as a response to this packet.Constructors in eu.cloudnetservice.driver.network.protocol with parameters of type DataBufModifierConstructorDescriptionBasePacket(int channel, boolean prioritized, @NonNull DataBuf dataBuf) Constructs a new base packet instance.BasePacket(int channel, @NonNull DataBuf dataBuf) Constructs a new base packet instance. -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.defaults.handler
Fields in eu.cloudnetservice.driver.network.rpc.defaults.handler declared as DataBufModifier and TypeFieldDescriptionprivate final DataBufDefaultRPCInvocationContext.argumentInformationprivate DataBufDefaultRPCInvocationContext.Builder.argumentInformationMethods in eu.cloudnetservice.driver.network.rpc.defaults.handler that return DataBufModifier and TypeMethodDescriptionDefaultRPCInvocationContext.argumentInformation()Get the data buffer slice which should contain the argument information for the current method invocation.Methods in eu.cloudnetservice.driver.network.rpc.defaults.handler with parameters of type DataBufModifier and TypeMethodDescriptionDefaultRPCInvocationContext.Builder.argumentInformation(@NonNull DataBuf information) Sets the buffer containing the argument information for the method invocation.DefaultRPCHandler.deserializeMethodArguments(@NonNull RPCMethodMetadata targetMethod, @NonNull DataBuf encodedArgumentsBuffer) Deserializes the method arguments provided in the given buffer based on the generic parameter types provided from the given target method metadata (in order).Constructors in eu.cloudnetservice.driver.network.rpc.defaults.handler with parameters of type DataBuf -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.defaults.handler.util
Methods in eu.cloudnetservice.driver.network.rpc.defaults.handler.util that return DataBufModifier and TypeMethodDescriptionRPCExceptionUtil.serializeHandlingException(DataBuf.Mutable target, @NonNull Throwable throwable) Serializes the thrown handling exception into the given target data buffer.Methods in eu.cloudnetservice.driver.network.rpc.defaults.handler.util with parameters of type DataBufModifier and TypeMethodDescriptionstatic voidRPCExceptionUtil.rethrowHandlingException(@NonNull DataBuf source) Rethrows the exception that is serialized in the given buffer, wrapped in anRPCExecutionException. -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.defaults.object
Methods in eu.cloudnetservice.driver.network.rpc.defaults.object with parameters of type DataBufModifier and TypeMethodDescription<T> TDefaultObjectMapper.readObject(@NonNull DataBuf dataBuf, @NonNull Type type) Reads an object from the given buffer by the given type using the previously registered serializers. -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.defaults.object.data
Methods in eu.cloudnetservice.driver.network.rpc.defaults.object.data with parameters of type DataBufModifier and TypeMethodDescriptionDataClassCodec.deserialize(@NonNull DataBuf source, @NonNull ObjectMapper mapper) Deserializes the target object of this codec from the given buffer using the given object mapper to deserialize the field values.Reads the object from the buffer. -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers
Classes in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers that implement interfaces with type arguments of type DataBufModifier and TypeClassDescriptionfinal classAn object serializer to write a data buf into the outbound buffer.Fields in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers with type parameters of type DataBufMethods in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers with parameters of type DataBufModifier 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.DocumentObjectSerializer.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.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.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.Method parameters in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers with type arguments of type DataBufModifier and TypeMethodDescriptionstatic <T> @NonNull FunctionalObjectSerializer<T> FunctionalObjectSerializer.of(@NonNull Function<DataBuf, T> reader, @NonNull BiConsumer<DataBuf.Mutable, T> writer) Constructs a new functional object serializer instance.Constructor parameters in eu.cloudnetservice.driver.network.rpc.defaults.object.serializers with type arguments of type DataBufModifierConstructorDescriptionprivateFunctionalObjectSerializer(@NonNull Function<DataBuf, T> reader, @NonNull BiConsumer<DataBuf.Mutable, T> writer) Constructs a new functional object serializer instance. -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.handler
Methods in eu.cloudnetservice.driver.network.rpc.handler that return DataBufModifier and TypeMethodDescriptionRPCInvocationContext.argumentInformation()Get the data buffer slice which should contain the argument information for the current method invocation.Methods in eu.cloudnetservice.driver.network.rpc.handler with parameters of type DataBufModifier and TypeMethodDescriptionRPCInvocationContext.Builder.argumentInformation(@NonNull DataBuf information) Sets the buffer containing the argument information for the method invocation. -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.listener
Methods in eu.cloudnetservice.driver.network.rpc.listener that return DataBufModifier and TypeMethodDescriptionRPCPacketListener.serializeHandlingResult(@Nullable RPCInvocationResult invocationResult) Serializes the result of the RPC handling process into a data buffer.Methods in eu.cloudnetservice.driver.network.rpc.listener with parameters of type DataBufModifier and TypeMethodDescriptionprivate @NonNull RPCInvocationContextRPCPacketListener.buildContext(@NonNull DataBuf content, @Nullable Object workingInstance) Builds a new context for a rpc method invocation based on the given information and remaining content in the buffer.private voidRPCPacketListener.executeRPCChainStep(int chainDepth, int currentDepth, boolean resultExpected, @NonNull DataBuf content, @NonNull Packet request, @NonNull NetworkChannel channel, @Nullable Object previousMethodReturnValue) Executes the next RPC chain step of the current RPC chain.private voidRPCPacketListener.sendResponseData(@NonNull NetworkChannel channel, @NonNull Packet request, @NonNull DataBuf response) Sends a serialized response to given request packet into the given network channel. -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.object
Methods in eu.cloudnetservice.driver.network.rpc.object with parameters of type DataBufModifier and TypeMethodDescriptionReads the object from the buffer.<T> @UnknownNullability TObjectMapper.readObject(@NonNull DataBuf dataBuf, @NonNull Type type) Reads an object from the given buffer by the given type using the previously registered serializers. -
Uses of DataBuf in eu.cloudnetservice.driver.network.rpc.packet
Constructors in eu.cloudnetservice.driver.network.rpc.packet with parameters of type DataBufModifierConstructorDescriptionRPCRequestPacket(@NonNull DataBuf dataBuf) Constructs a new rpc request packet.