jas2.util.rmi
Class RMIEventQueue
- java.lang.Object
-
- java.lang.Thread
-
- jas2.util.rmi.RMIEventQueue
-
- All Implemented Interfaces:
- java.lang.Runnable
public class RMIEventQueue extends java.lang.ThreadThis 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.
-
-
Constructor Summary
Constructors Constructor and Description RMIEventQueue(RemoteEventReceiver receiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddispose()voidrun()java.util.ObserversetEventSource(RMIDestination destination)-
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
-
-
-
-
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()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
-
DataMelt 3.0 © DataMelt by jWork.ORG