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 TypeFieldDescriptionChannelMessage.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 TypeMethodDescriptionBuilds a channel message from this builder, using the given buffer as the content of it.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.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.advanceReaderOffset(int delta) Advances the current reader offset of this buffer by the given delta.DataBuf.Mutable.advanceWriterOffset(int delta) Advances the current writer offset of this buffer by the given delta.DataBuf.Mutable.asImmutable()Wraps the underlying buffer into a read-only variant.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.readerOffset(int offset) Sets the current reader offset of this buffer.DataBuf.redoTransaction()Redoes the currently running transaction on the buffer.DataBuf.startTransaction()Starts a transaction to the buffer.DataBuf.Mutable.writerOffset(int offset) Sets the current writer offset of this 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
Fields in eu.cloudnetservice.driver.network.chunk declared as DataBufMethods in eu.cloudnetservice.driver.network.chunk that return DataBufModifier and TypeMethodDescriptionChunkSessionInformation.transferInformation()Get the buffer containing additional information about the transfer.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.voidReads all data of this object from the given buffer.ChunkedPacketSender.Builder.withExtraData(@NonNull DataBuf extraData) Sets the extra information provided to each target component when opening a chunked session.Constructors in eu.cloudnetservice.driver.network.chunk with parameters of type DataBuf -
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 TypeMethodDescriptionFileQueryRequestEvent.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.object
Methods in eu.cloudnetservice.driver.network.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.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.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.