Record Class ChunkSessionInformation

java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.network.chunk.data.ChunkSessionInformation
Record Components:
chunkSize - the size of data transferred in each chunk, should always be the exact amount of bytes.
sessionUniqueId - the unique id of the transfer session, for identification reasons.
transferChannel - the name of the channel the data is transferred in, for identification reasons.
transferInformation - additional information for the transfer handler to handle the chunks correctly.

public record ChunkSessionInformation(int chunkSize, @NonNull UUID sessionUniqueId, @NonNull String transferChannel, @NonNull DataBuf transferInformation) extends Record
Contains all needed information for a chunked data transfer to be initialized. The transfer information in this object are there to allow writes of additional information needed for the transfer to work, for example the target file name.
Since:
4.0