Class SftpServerSubSystemEventListener

  • All Implemented Interfaces:
    java.util.EventListener, org.apache.sshd.common.NamedResource, org.apache.sshd.common.util.SshdEventListener, org.apache.sshd.sftp.server.SftpEventListener

    public class SftpServerSubSystemEventListener
    extends ServerEventListenerHelper
    implements org.apache.sshd.sftp.server.SftpEventListener
    • Field Summary

      • Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

        log
      • Fields inherited from interface org.apache.sshd.common.NamedResource

        BY_NAME_COMPARATOR, NAME_EXTRACTOR
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void created​(org.apache.sshd.server.session.ServerSession session, java.nio.file.Path path, java.util.Map<java.lang.String,​?> attrs, java.lang.Throwable thrown)  
      void destroying​(org.apache.sshd.server.session.ServerSession session)  
      void initialized​(org.apache.sshd.server.session.ServerSession session, int version)  
      void moved​(org.apache.sshd.server.session.ServerSession session, java.nio.file.Path srcPath, java.nio.file.Path dstPath, java.util.Collection<java.nio.file.CopyOption> opts, java.lang.Throwable thrown)  
      void removed​(org.apache.sshd.server.session.ServerSession session, java.nio.file.Path path, boolean isDirectory, java.lang.Throwable thrown)  
      • Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

        debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
      • 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.sftp.server.SftpEventListener

        blocked, blocking, closed, closing, creating, exiting, linked, linking, modifiedAttributes, modifyingAttributes, moving, open, openFailed, opening, read, readEntries, reading, readingEntries, received, receivedExtension, removing, unblocked, unblocking, writing, written
    • Constructor Detail

      • SftpServerSubSystemEventListener

        public SftpServerSubSystemEventListener​(org.slf4j.Logger logger)
    • Method Detail

      • initialized

        public void initialized​(org.apache.sshd.server.session.ServerSession session,
                                int version)
                         throws java.io.IOException
        Specified by:
        initialized in interface org.apache.sshd.sftp.server.SftpEventListener
        Throws:
        java.io.IOException
      • destroying

        public void destroying​(org.apache.sshd.server.session.ServerSession session)
                        throws java.io.IOException
        Specified by:
        destroying in interface org.apache.sshd.sftp.server.SftpEventListener
        Throws:
        java.io.IOException
      • created

        public void created​(org.apache.sshd.server.session.ServerSession session,
                            java.nio.file.Path path,
                            java.util.Map<java.lang.String,​?> attrs,
                            java.lang.Throwable thrown)
                     throws java.io.IOException
        Specified by:
        created in interface org.apache.sshd.sftp.server.SftpEventListener
        Throws:
        java.io.IOException
      • moved

        public void moved​(org.apache.sshd.server.session.ServerSession session,
                          java.nio.file.Path srcPath,
                          java.nio.file.Path dstPath,
                          java.util.Collection<java.nio.file.CopyOption> opts,
                          java.lang.Throwable thrown)
                   throws java.io.IOException
        Specified by:
        moved in interface org.apache.sshd.sftp.server.SftpEventListener
        Throws:
        java.io.IOException
      • removed

        public void removed​(org.apache.sshd.server.session.ServerSession session,
                            java.nio.file.Path path,
                            boolean isDirectory,
                            java.lang.Throwable thrown)
                     throws java.io.IOException
        Specified by:
        removed in interface org.apache.sshd.sftp.server.SftpEventListener
        Throws:
        java.io.IOException