Class NioProcessor.IoSessionIterator<NioSession>
- java.lang.Object
-
- org.apache.mina.transport.socket.nio.NioProcessor.IoSessionIterator<NioSession>
-
- All Implemented Interfaces:
Iterator<NioSession>
- Enclosing class:
- NioProcessor
protected static class NioProcessor.IoSessionIterator<NioSession> extends Object implements Iterator<NioSession>
An encapsulating iterator around theSelector.selectedKeys()or theSelector.keys()iterator;
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()NioSessionnext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<NioSession>
-
next
public NioSession next()
- Specified by:
nextin interfaceIterator<NioSession>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<NioSession>
-
-