public class ChannelPipelineFactory extends Object implements IChannelPipelineFactory
Constructor and Description |
---|
ChannelPipelineFactory(IBufferManager bufferManager,
IBufferedPieceRegistry bufferedPieceRegistry) |
Modifier and Type | Method and Description |
---|---|
ChannelPipelineBuilder |
buildPipeline(Peer peer)
Start building a pipeline for the given peer.
|
@Inject public ChannelPipelineFactory(IBufferManager bufferManager, IBufferedPieceRegistry bufferedPieceRegistry)
public ChannelPipelineBuilder buildPipeline(Peer peer)
IChannelPipelineFactory
buildPipeline
in interface IChannelPipelineFactory
Copyright © 2016–2021. All rights reserved.