pt.digitalis.sampleApp.iss
Class myProcessCaller
java.lang.Object
java.lang.Thread
pt.digitalis.sampleApp.iss.myProcessCaller
- All Implemented Interfaces:
- Runnable
public class myProcessCaller
- extends Thread
This class simulates parallel requests being made to the AppServer. The
attributes include the ISS who will execute the request, a user-supplied id
and the service request that will be executed.
- Author:
- Rodrigo Gonçalves rgoncalves@digitalis.pt
Constructor Summary |
myProcessCaller(pt.digitalis.iss.IProcess theProcess,
pt.digitalis.iss.ISS theISS,
String id)
Ctor. |
Method Summary |
pt.digitalis.iss.ServiceRequest |
getRequest()
Inspector for the service request attribute. |
pt.digitalis.iss.ProcessResults |
getResults()
|
pt.digitalis.iss.IProcess |
getTheProcess()
|
void |
run()
Overriding Thread#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 |
myProcessCaller
public myProcessCaller(pt.digitalis.iss.IProcess theProcess,
pt.digitalis.iss.ISS theISS,
String id)
- Ctor.
- Parameters:
theProcess
- the process to executetheISS
- the ISS that should execute the processid
- this Caller's id
getRequest
public pt.digitalis.iss.ServiceRequest getRequest()
- Inspector for the service request attribute.
- Returns:
- the service request
run
public void run()
- Overriding Thread#run()...
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
- See Also:
Thread.run()
getResults
public pt.digitalis.iss.ProcessResults getResults()
- Returns:
- the results
getTheProcess
public pt.digitalis.iss.IProcess getTheProcess()
- Returns:
- the theProcess
Copyright © 2009 Digitalis Informática Lda. All Rights Reserved.