public class FetchMetadataStage extends TerminateOnErrorProcessingStage<MagnetContext>
Constructor and Description |
---|
FetchMetadataStage(ProcessingStage<MagnetContext> next,
IMetadataService metadataService,
TorrentRegistry torrentRegistry,
IPeerRegistry peerRegistry,
EventSink eventSink,
Config config) |
Modifier and Type | Method and Description |
---|---|
ProcessingEvent |
after() |
protected void |
doExecute(MagnetContext context)
Perform processing.
|
doExecute
execute
public FetchMetadataStage(ProcessingStage<MagnetContext> next, IMetadataService metadataService, TorrentRegistry torrentRegistry, IPeerRegistry peerRegistry, EventSink eventSink, Config config)
protected void doExecute(MagnetContext context)
TerminateOnErrorProcessingStage
doExecute
in class TerminateOnErrorProcessingStage<MagnetContext>
public ProcessingEvent after()
Copyright © 2016–2021. All rights reserved.