jvntextpro.service
Class TaggingService

java.lang.Object
  extended by java.lang.Thread
      extended by jvntextpro.service.TaggingService
All Implemented Interfaces:
java.lang.Runnable

public class TaggingService
extends java.lang.Thread

The Class TaggingService.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static int maxNSession
          The Constant maxNSession.
static java.util.Vector<Session> pool
          The pool.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TaggingService(int p, jvntextpro.service.ServiceOption option)
          Instantiates a new tagging service.
TaggingService(jvntextpro.service.ServiceOption option)
          Instantiates a new tagging service.
 
Method Summary
static void main(java.lang.String[] args)
          The main method.
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

maxNSession

public static final int maxNSession
The Constant maxNSession.

See Also:
Constant Field Values

pool

public static java.util.Vector<Session> pool
The pool.

Constructor Detail

TaggingService

public TaggingService(int p,
                      jvntextpro.service.ServiceOption option)
Instantiates a new tagging service.

Parameters:
p - the p
option - the option

TaggingService

public TaggingService(jvntextpro.service.ServiceOption option)
Instantiates a new tagging service.

Parameters:
option - the option
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - the arguments