Class JGitUserInteraction.SessionAuthMarker
java.lang.Object
org.eclipse.jgit.internal.transport.sshd.JGitUserInteraction.SessionAuthMarker
- All Implemented Interfaces:
EventListener
,org.apache.sshd.common.session.SessionListener
,org.apache.sshd.common.util.SshdEventListener
- Enclosing class:
- JGitUserInteraction
private static class JGitUserInteraction.SessionAuthMarker
extends Object
implements org.apache.sshd.common.session.SessionListener
A
SessionListener
that removes itself from the session when
authentication is done or the session is closed.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.session.SessionListener
org.apache.sshd.common.session.SessionListener.Event
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<org.apache.sshd.common.session.Session,
org.apache.sshd.common.session.SessionListener> -
Constructor Summary
ConstructorsConstructorDescriptionSessionAuthMarker
(Map<org.apache.sshd.common.session.Session, org.apache.sshd.common.session.SessionListener> registered) -
Method Summary
Modifier and TypeMethodDescriptionvoid
sessionClosed
(org.apache.sshd.common.session.Session session) void
sessionEvent
(org.apache.sshd.common.session.Session session, org.apache.sshd.common.session.SessionListener.Event event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.sshd.common.session.SessionListener
sessionCreated, sessionDisconnect, sessionEstablished, sessionException, sessionNegotiationEnd, sessionNegotiationStart, sessionPeerIdentificationReceived
-
Field Details
-
registered
private final Map<org.apache.sshd.common.session.Session,org.apache.sshd.common.session.SessionListener> registered
-
-
Constructor Details
-
SessionAuthMarker
public SessionAuthMarker(Map<org.apache.sshd.common.session.Session, org.apache.sshd.common.session.SessionListener> registered)
-
-
Method Details
-
sessionEvent
public void sessionEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.common.session.SessionListener.Event event) - Specified by:
sessionEvent
in interfaceorg.apache.sshd.common.session.SessionListener
-
sessionClosed
public void sessionClosed(org.apache.sshd.common.session.Session session) - Specified by:
sessionClosed
in interfaceorg.apache.sshd.common.session.SessionListener
-