Class NioSocketConnector.SocketChannelIterator
java.lang.Object
org.apache.mina.transport.socket.nio.NioSocketConnector.SocketChannelIterator
- All Implemented Interfaces:
Iterator<SocketChannel>
- Enclosing class:
NioSocketConnector
private static class NioSocketConnector.SocketChannelIterator
extends Object
implements Iterator<SocketChannel>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSocketChannelIterator(Collection<SelectionKey> selectedKeys) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
i
-
-
Constructor Details
-
SocketChannelIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<SocketChannel>
-
next
- Specified by:
nextin interfaceIterator<SocketChannel>
-
remove
public void remove()- Specified by:
removein interfaceIterator<SocketChannel>
-