Class TrivialPreprocessor

java.lang.Object
net.i2p.router.tunnel.TrivialPreprocessor
All Implemented Interfaces:
TunnelGateway.QueuePreprocessor
Direct Known Subclasses:
BatchedPreprocessor, TrivialRouterPreprocessor

class TrivialPreprocessor
extends Object
implements TunnelGateway.QueuePreprocessor
Do the simplest thing possible for preprocessing - for each message available, turn it into the minimum number of fragmented preprocessed blocks, sending each of those out. This does not coalesce message fragments or delay for more optimal throughput. See FragmentHandler Javadoc for tunnel message fragment format Not instantiated directly except in unit tests; see BatchedPreprocessor