jas.util.rmi
Class RMIEventQueue

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--jas.util.rmi.RMIEventQueue
All Implemented Interfaces:
java.lang.Runnable

public class RMIEventQueue
extends java.lang.Thread

This class deals with delivering events to a remote process using RMI. Since RMI does not have any asychronous method of delivering events, they are queued up and delivered in a chunk by an event delivery thread. Events placed in the queue can be "Preemptable", in which case a later event may preempt an earlier one, making it unnecessary to deliver the earlier events.


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RMIEventQueue(RemoteEventReceiver receiver)
           
 
Method Summary
 void dispose()
           
 void run()
           
 java.util.Observer setEventSource(RMIDestination destination)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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

RMIEventQueue

public RMIEventQueue(RemoteEventReceiver receiver)
Method Detail

dispose

public void dispose()

setEventSource

public java.util.Observer setEventSource(RMIDestination destination)

run

public void run()
Overrides:
run in class java.lang.Thread