Class 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
    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

      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)  
      • 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 Detail

      • registered

        private final java.util.Map<org.apache.sshd.common.session.Session,​org.apache.sshd.common.session.SessionListener> registered
    • Constructor Detail

      • SessionAuthMarker

        public SessionAuthMarker​(java.util.Map<org.apache.sshd.common.session.Session,​org.apache.sshd.common.session.SessionListener> registered)
    • 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 interface org.apache.sshd.common.session.SessionListener
      • sessionClosed

        public void sessionClosed​(org.apache.sshd.common.session.Session session)
        Specified by:
        sessionClosed in interface org.apache.sshd.common.session.SessionListener