public class STA extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
int |
threadID
referenced by STA.cpp
(STA.cpp引用)
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
STA()
constructor for STA
|
| Modifier and Type | Method and Description |
|---|---|
void |
doMessagePump()
run a message pump for the main STA
(为主要STA运行消息泵)
|
boolean |
OnInit()
Override this method to create and initialize any COM component that you want to run in this thread.
(重写此方法可创建和初始化要在此线程中运行的任何COM组件。)
|
void |
OnQuit()
Override this method to destroy any resource before the thread exits and COM in uninitialized
(覆盖此方法以在线程退出和COM未初始化之前销毁任何资源)
|
void |
quit()
calls quitMessagePump
(调用quitMessagePump)
|
void |
quitMessagePump()
quit message pump for the main STA
(主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 boolean OnInit()
public void OnQuit()
public void quit()
public void doMessagePump()
public void quitMessagePump()
http://jacob-project.sourceforge.net