edu.unika.aifb.rdf.crawler
Class Channel

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--edu.unika.aifb.rdf.crawler.Channel

public class Channel
extends java.lang.Thread

An individual channel which waits for the work to be done with web page retrieving, tries out Cache, NetRetrieve and finally passes filepath to DocProcessor and gets back 1) a piece of RDF model 2) all the URIs which have to be tested/crawled as they appear in the given URI 3) exceptions (if any)


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Channel(ChannelPool pool, int threadnum)
           
 
Method Summary
 void run()
           
 void trace(int i)
          Tracing function
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Channel

public Channel(ChannelPool pool,
               int threadnum)
Method Detail

run

public void run()
Overrides:
run in class java.lang.Thread

trace

public void trace(int i)
Tracing function