net.mlw.gfw.event
Class AsynchronousEventHandlerDecorator

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--net.mlw.gfw.event.AsynchronousEventHandlerDecorator
All Implemented Interfaces:
EventHandler, java.lang.Runnable
Direct Known Subclasses:
AsynchronousServerDecorator

public class AsynchronousEventHandlerDecorator
extends java.lang.Thread
implements EventHandler

Version:
$Revision: 1.3 $ $Date: 2004/06/29 20:32:57 $
Author:
Matthew L. Wilson

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AsynchronousEventHandlerDecorator(net.mlw.gfw.event.EventHandler parent)
           
 
Method Summary
 void onEvent(net.mlw.gfw.event.Event event)
          This method processes an event.
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Constructor Detail

AsynchronousEventHandlerDecorator

public AsynchronousEventHandlerDecorator(net.mlw.gfw.event.EventHandler parent)
Parameters:
parent -
Method Detail

onEvent

public void onEvent(net.mlw.gfw.event.Event event)
Description copied from interface: EventHandler
This method processes an event.

Specified by:
onEvent in interface EventHandler
Parameters:
event - The Event to be processed.
See Also:
EventHandler.onEvent(net.mlw.gfw.event.Event)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
Runnable.run()


Copyright © 2003-2004 mlavilson. All Rights Reserved.