Class AbstractKeyPairIterator<I extends PublicKeyIdentity>
java.lang.Object
org.apache.sshd.client.auth.pubkey.AbstractKeyPairIterator<I>
- Type Parameters:
I
- Type ofPublicKeyIdentity
being iterated
- All Implemented Interfaces:
Iterator<I>
,ClientSessionHolder
,SessionContextHolder
,SessionHolder<ClientSession>
- Direct Known Subclasses:
SessionKeyPairIterator
,SshAgentPublicKeyIterator
,UserAuthPublicKeyIterator
public abstract class AbstractKeyPairIterator<I extends PublicKeyIdentity>
extends Object
implements Iterator<I>, SessionHolder<ClientSession>, ClientSessionHolder
- Author:
- Apache MINA SSHD Project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ClientSession
final ClientSession
void
remove()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next
Methods inherited from interface org.apache.sshd.common.session.SessionHolder
getSessionContext
-
Constructor Details
-
AbstractKeyPairIterator
-
-
Method Details
-
getClientSession
- Specified by:
getClientSession
in interfaceClientSessionHolder
- Returns:
- The underlying
ClientSession
used
-
getSession
- Specified by:
getSession
in interfaceSessionHolder<I extends PublicKeyIdentity>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<I extends PublicKeyIdentity>
-
toString
-