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
Constructors Modifier Constructor Description protected
AbstractKeyPairIterator(ClientSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientSession
getClientSession()
ClientSession
getSession()
void
remove()
String
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 Detail
-
AbstractKeyPairIterator
protected AbstractKeyPairIterator(ClientSession session)
-
-
Method Detail
-
getClientSession
public final ClientSession getClientSession()
- Specified by:
getClientSession
in interfaceClientSessionHolder
- Returns:
- The underlying
ClientSession
used
-
getSession
public final ClientSession getSession()
- Specified by:
getSession
in interfaceSessionHolder<I extends PublicKeyIdentity>
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator<I extends PublicKeyIdentity>
-
-