Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class AspThread  view AspThread download AspThread.java

java.lang.Object
  extended bycom.tripi.asp.AspThread
All Implemented Interfaces:
java.lang.Runnable

public class AspThread
extends java.lang.Object
implements java.lang.Runnable

AspThread performs the actual processing of an ASP process.

Version:
0.9

Field Summary
(package private)  AspContext context
          Running context
private  org.apache.log4j.Category DBG
          Debugging category
(package private)  AspException ex
          Exception thrown during execution
(package private)  java.lang.String filename
          Filename of ASP script
 
Constructor Summary
AspThread(AspContext context, java.lang.String filename)
          Constructor.
 
Method Summary
static void checkTimeout(AspContext context)
          Static class which checks if a timeout has occured.
 java.lang.Exception getException()
          Obtains the exception thrown.
 void run()
          Executes this thread, processing the ASP code.
static void timeout(AspContext globalScope)
          Static method which marks that a timeout has occured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBG

private org.apache.log4j.Category DBG
Debugging category


context

AspContext context
Running context


filename

java.lang.String filename
Filename of ASP script


ex

AspException ex
Exception thrown during execution

Constructor Detail

AspThread

public AspThread(AspContext context,
                 java.lang.String filename)
Constructor.

Method Detail

run

public void run()
Executes this thread, processing the ASP code.

Specified by:
run in interface java.lang.Runnable

checkTimeout

public static void checkTimeout(AspContext context)
                         throws AspException
Static class which checks if a timeout has occured.


timeout

public static void timeout(AspContext globalScope)
                    throws AspException
Static method which marks that a timeout has occured


getException

public java.lang.Exception getException()
Obtains the exception thrown.