Package org.drasyl.handler.stream
package org.drasyl.handler.stream
Codecs, Channel Handlers, and Messages for sending large data streams asynchronously neither
spending a lot of memory nor getting
OutOfMemoryError-
ClassesClassDescriptionAggregates
MessageChunks to aReassembledMessage.Wraps each chunk of the specifiedio.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>into a series of sortableMessageChunks, allowing the receiver to reassemble theByteBufin correct order.EncodesByteBufs exceedingLargeByteBufToChunkedMessageEncoder.maxChunkLengthtoChunkedMessageInputs.Represents the very last chunk of a message that is too large to be transmitted as a whole.Represents a chunk of a message that is too large to be transmitted as a whole.DecodesByteBufs with correct magic number toMessageChunks.EncodesMessageChunks toByteBufs.Buffers until allMessageChunks belonging to the same message have been collected, then passes them in the correct order.SpecialListimplementation which is used within ourMessageChunksBuffer.Represents a message that has been reassembled fromMessageChunks.DecodesReassembledMessages toByteBufs.