public class UserAuthPublicKeyIterator extends AbstractKeyPairIterator<PublicKeyIdentity> implements Channel
Constructor and Description |
---|
UserAuthPublicKeyIterator(ClientSession session,
SignatureFactoriesManager signatureFactories) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
closeAgent() |
boolean |
hasNext() |
boolean |
isOpen() |
PublicKeyIdentity |
next() |
protected Iterator<? extends PublicKeyIdentity> |
nextIterator(Iterator<? extends Iterator<? extends PublicKeyIdentity>> available) |
getClientSession, getSession, remove, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
public UserAuthPublicKeyIterator(ClientSession session, SignatureFactoriesManager signatureFactories) throws Exception
Exception
public boolean hasNext()
hasNext
in interface Iterator<PublicKeyIdentity>
public PublicKeyIdentity next()
next
in interface Iterator<PublicKeyIdentity>
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
protected void closeAgent() throws IOException
IOException
protected Iterator<? extends PublicKeyIdentity> nextIterator(Iterator<? extends Iterator<? extends PublicKeyIdentity>> available)
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.