net.jini.jeri.ssl
Class SslEndpointImpl.ConnectionsIterator

java.lang.Object
  extended by net.jini.jeri.ssl.SslEndpointImpl.ConnectionsIterator
All Implemented Interfaces:
Iterator
Enclosing class:
SslEndpointImpl

private static final class SslEndpointImpl.ConnectionsIterator
extends Object
implements Iterator

Defines an iterator over active and idle connections which performs error checking on connections.


Field Summary
private  Collection active
           
private  Endpoint endpoint
           
private  Collection idle
           
private  Iterator iter
           
 
Constructor Summary
SslEndpointImpl.ConnectionsIterator(Endpoint endpoint, Collection active, Collection idle)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

endpoint

private final Endpoint endpoint

active

private Collection active

idle

private final Collection idle

iter

private Iterator iter
Constructor Detail

SslEndpointImpl.ConnectionsIterator

SslEndpointImpl.ConnectionsIterator(Endpoint endpoint,
                                    Collection active,
                                    Collection idle)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.