Class NioProcessor.IoSessionIterator<NioSession>
- java.lang.Object
-
- org.apache.mina.transport.socket.nio.NioProcessor.IoSessionIterator<NioSession>
-
- All Implemented Interfaces:
java.util.Iterator<NioSession>
- Enclosing class:
- NioProcessor
protected static class NioProcessor.IoSessionIterator<NioSession> extends java.lang.Object implements java.util.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 boolean
hasNext()
NioSession
next()
void
remove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<NioSession>
-
next
public NioSession next()
- Specified by:
next
in interfacejava.util.Iterator<NioSession>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<NioSession>
-
-