public class ProcessTorrentStage<C extends TorrentContext> extends TerminateOnErrorProcessingStage<C>
Constructor and Description |
---|
ProcessTorrentStage(ProcessingStage<C> next,
TorrentRegistry torrentRegistry,
IPeerRegistry peerRegistry,
ITrackerService trackerService,
EventSink eventSink) |
Modifier and Type | Method and Description |
---|---|
ProcessingEvent |
after() |
protected void |
doExecute(C context)
Perform processing.
|
protected void |
onCompleted(C context) |
doExecute
execute
public ProcessTorrentStage(ProcessingStage<C> next, TorrentRegistry torrentRegistry, IPeerRegistry peerRegistry, ITrackerService trackerService, EventSink eventSink)
protected void doExecute(C context) throws InterruptedException
TerminateOnErrorProcessingStage
doExecute
in class TerminateOnErrorProcessingStage<C extends TorrentContext>
InterruptedException
protected void onCompleted(C context)
public ProcessingEvent after()
Copyright © 2016–2021. All rights reserved.