Class JGitUserInteraction.SessionAuthMarker
- java.lang.Object
-
- org.eclipse.jgit.internal.transport.sshd.JGitUserInteraction.SessionAuthMarker
-
- All Implemented Interfaces:
java.util.EventListener
,org.apache.sshd.common.session.SessionListener
,org.apache.sshd.common.util.SshdEventListener
- Enclosing class:
- JGitUserInteraction
private static class JGitUserInteraction.SessionAuthMarker extends java.lang.Object implements org.apache.sshd.common.session.SessionListener
ASessionListener
that removes itself from the session when authentication is done or the session is closed.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<org.apache.sshd.common.session.Session,org.apache.sshd.common.session.SessionListener>
registered
-
Constructor Summary
Constructors Constructor Description SessionAuthMarker(java.util.Map<org.apache.sshd.common.session.Session,org.apache.sshd.common.session.SessionListener> registered)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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)
-
-
-
Method Detail
-
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
-
-