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