|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread infoservice.agreement.multicast.MessageHandlerThread
public class MessageHandlerThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private AbstractEMCAdapter |
m_agreementHandler
|
private boolean |
m_bRunning
|
private FifoQueue |
m_queue
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
MessageHandlerThread(AbstractEMCAdapter a_handler,
FifoQueue a_queue)
LERNGRUPPE Creates a new MessageHandler . |
Method Summary | |
---|---|
void |
run()
|
void |
setRunning(boolean a_bRunning)
LERNGRUPPE Sets the m_bRunning member |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private boolean m_bRunning
private AbstractEMCAdapter m_agreementHandler
private FifoQueue m_queue
Constructor Detail |
---|
public MessageHandlerThread(AbstractEMCAdapter a_handler, FifoQueue a_queue)
MessageHandler
. When notified it
will pop a message off the given queue and call the given handler to
handle it.
a_handler
- The ArgreementHandler to handle the messagesa_queue
- A queue of messagesMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void setRunning(boolean a_bRunning)
a_bRunning
- the new value of m_bRunning
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |