public class STA
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
int |
threadID
referenced by STA.cpp
|
| Constructor and Description |
|---|
STA()
constructor for STA
|
| Modifier and Type | Method and Description |
|---|---|
void |
doMessagePump()
run a message pump for the main STA
|
boolean |
OnInit()
Override this method to create and initialize any COM component that you
want to run in this thread.
|
void |
OnQuit()
Override this method to destroy any resource before the thread exits and
COM in uninitialized
|
void |
quit()
calls quitMessagePump
|
void |
quitMessagePump()
quit message pump for the main STA
|
void |
run() |
activeCount, checkAccess, clone, 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, yieldpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic boolean OnInit()
public void OnQuit()
public void quit()
public void doMessagePump()
public void quitMessagePump()
http://jacob-project.sourceforge.net