Class URLInputWorker
- java.lang.Object
-
- com.levigo.jadice.server.core.NodeWorker<URLInputNode>
-
- com.levigo.jadice.server.nodes.worker.URLInputWorker
-
- All Implemented Interfaces:
QualifiedLogEventReceiver
,WorkerController<URLInputNode>
,Runnable
public class URLInputWorker extends NodeWorker<URLInputNode>
Opens anURL
and store aStreamResolver
for retrieving relative URLs
-
-
Constructor Summary
Constructors Constructor Description URLInputWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
work()
Implement this method to let the node perform some useful work.-
Methods inherited from class com.levigo.jadice.server.core.NodeWorker
abort, abortNow, addInputBundle, addOutputBundle, doAbort, doAbortNow, error, error, error, fail, fail, fail, getController, getInputBundle, getInputBundles, getJob, getLimitSupport, getNode, getOutputBundle, getOutputBundles, getServerJob, getState, getStreamTransportFactory, getTransportSender, initialize, isAbortRequested, postWork, preWork, run, setDescriptor, setJob, toString, warn, warn, warn
-
-
-
-
Method Detail
-
work
public void work() throws IOException
Description copied from class:NodeWorker
Implement this method to let the node perform some useful work.Implementors are free to throw whatever exception they see fit. If any
Throwable
is thrown from this method, the failure manager is notified about the fatal failure of the whole pipeline.- Specified by:
work
in classNodeWorker<URLInputNode>
- Throws:
IOException
-
-