Class NioSocketConnector.SocketChannelIterator
- java.lang.Object
-
- org.apache.mina.transport.socket.nio.NioSocketConnector.SocketChannelIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.nio.channels.SocketChannel>
- Enclosing class:
- NioSocketConnector
private static class NioSocketConnector.SocketChannelIterator extends java.lang.Object implements java.util.Iterator<java.nio.channels.SocketChannel>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Iterator<java.nio.channels.SelectionKey>i
-
Constructor Summary
Constructors Modifier Constructor Description privateSocketChannelIterator(java.util.Collection<java.nio.channels.SelectionKey> selectedKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()java.nio.channels.SocketChannelnext()voidremove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<java.nio.channels.SocketChannel>
-
next
public java.nio.channels.SocketChannel next()
- Specified by:
nextin interfacejava.util.Iterator<java.nio.channels.SocketChannel>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<java.nio.channels.SocketChannel>
-
-