Class AbstractKeyPairIterator<I extends PublicKeyIdentity>
java.lang.Object
org.apache.sshd.client.auth.pubkey.AbstractKeyPairIterator<I>
- Type Parameters:
I- Type ofPublicKeyIdentitybeing 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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ClientSessionfinal ClientSessionvoidremove()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, nextMethods inherited from interface org.apache.sshd.common.session.SessionHolder
getSessionContext
-
Field Details
-
session
-
-
Constructor Details
-
AbstractKeyPairIterator
-
-
Method Details
-
getClientSession
- Specified by:
getClientSessionin interfaceClientSessionHolder- Returns:
- The underlying
ClientSessionused
-
getSession
- Specified by:
getSessionin interfaceSessionHolder<I extends PublicKeyIdentity>
-
remove
public void remove()- Specified by:
removein interfaceIterator<I extends PublicKeyIdentity>
-
toString
-