public final class RemoteTaskEventIterator extends java.lang.Object implements java.util.Iterator<RemoteTaskEvent>
RemoteTaskEvents until
it receives a FINISHED call or the close() method is invoked.| Constructor and Description |
|---|
RemoteTaskEventIterator(RemoteTaskEventQueue queue) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Needs only be called if the iteration is broken before
reaching the FINISHED event.
|
boolean |
hasNext() |
RemoteTaskEvent |
next() |
void |
remove()
Just implements
Iterator but does nothing |
public RemoteTaskEventIterator(RemoteTaskEventQueue queue)
public boolean hasNext()
hasNext in interface java.util.Iterator<RemoteTaskEvent>public RemoteTaskEvent next()
next in interface java.util.Iterator<RemoteTaskEvent>public void remove()
Iterator but does nothingremove in interface java.util.Iterator<RemoteTaskEvent>public void close()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.