All Packages Class Hierarchy This Package Previous Next Index
Class org.w3c.tools.resources.event.ResourceEventQueue
java.lang.Object
|
+----org.w3c.tools.resources.event.ResourceEventQueue
- public class ResourceEventQueue
- extends Object
-
debug
-
-
ResourceEventQueue()
-
-
getNextEvent()
- Get the next Event in the queue, wait if there is no event
available in the queue.
-
removeSourceEvents(Object)
- Remove all the Events comming from the given source object.
-
sendEvent(ResourceEvent)
- Send a ResourceEvent in the queue.
debug
protected boolean debug
ResourceEventQueue
public ResourceEventQueue()
sendEvent
public synchronized void sendEvent(ResourceEvent evt)
- Send a ResourceEvent in the queue.
- Parameters:
- evt - The Resource Event to put in the queue.
getNextEvent
public synchronized ResourceEvent getNextEvent() throws InterruptedException
- Get the next Event in the queue, wait if there is no event
available in the queue.
- Returns:
- a ResourceEvent instance.
- Throws: InterruptedException
- Is unable to get the next event due to
some interruption.
removeSourceEvents
public synchronized void removeSourceEvents(Object source)
- Remove all the Events comming from the given source object.
- Parameters:
- source - The Object where the events to remove are comming from.
All Packages Class Hierarchy This Package Previous Next Index