org.kaariboga.core
Class Kaariboga.FireMessageThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.kaariboga.core.Kaariboga.FireMessageThread
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable
Enclosing class:
Kaariboga

class Kaariboga.FireMessageThread
extends java.lang.Thread
implements java.io.Serializable

Fires KaaribogaMessage to the kaaribogaMessageListener. This thread is needed to fire messages in an asynchronous way. Asynchronous message firering should be done because result of of message firering could be continuing communication between objects. Asynchronous messages would result in the objects continuing calling each other methods without giving the methods a change to return.

See Also:
Serialized Form

Field Summary
private  KaaribogaMessageEvent e
          The event to be send.
 
Fields inherited from class java.lang.Thread
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ
 
Constructor Summary
Kaariboga.FireMessageThread(KaaribogaMessageEvent e)
           
 
Method Summary
 void run()
          Calls kaariboaMesssageListner's kaaribogaMessage(m) method.
 
Methods inherited from class java.lang.Thread
, activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, exit, getContextClassLoader, getName, getPriority, getThreadGroup, init, interrupt, interrupt0, interrupted, isAlive, isDaemon, isInterrupted, isInterrupted, join, join, join, nextThreadNum, registerNatives, resume, resume0, setContextClassLoader, setDaemon, setName, setPriority, setPriority0, sleep, sleep, start, stop, stop, stop0, suspend, suspend0, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

e

private KaaribogaMessageEvent e
The event to be send.
Constructor Detail

Kaariboga.FireMessageThread

public Kaariboga.FireMessageThread(KaaribogaMessageEvent e)
Parameters:
m - The message to be send.
Method Detail

run

public void run()
Calls kaariboaMesssageListner's kaaribogaMessage(m) method.
Overrides:
run in class java.lang.Thread