|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.tools.resources.event.ResourceEventQueue
public class ResourceEventQueue
| Field Summary | |
|---|---|
static boolean |
debug
|
| Constructor Summary | |
|---|---|
ResourceEventQueue()
|
|
| Method Summary | |
|---|---|
ResourceEvent |
getNextEvent()
Get the next Event in the queue, wait if there is no event available in the queue. |
void |
removeSourceEvents(java.lang.Object source)
Remove all the Events comming from the given source object. |
void |
sendEvent(ResourceEvent evt)
Send a ResourceEvent in the queue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean debug
| Constructor Detail |
|---|
public ResourceEventQueue()
| Method Detail |
|---|
public void sendEvent(ResourceEvent evt)
evt - The Resource Event to put in the queue.
public ResourceEvent getNextEvent()
throws java.lang.InterruptedException
java.lang.InterruptedException - Is unable to get the next event due to
some interruption.public void removeSourceEvents(java.lang.Object source)
source - The Object where the events to remove are comming from.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||