Class SftpServerSubSystemEventListener
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.cli.server.helper.ServerEventListenerHelper
-
- org.apache.sshd.cli.server.helper.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
-
-
Constructor Summary
Constructors Constructor Description SftpServerSubSystemEventListener(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreated(org.apache.sshd.server.session.ServerSession session, java.nio.file.Path path, java.util.Map<java.lang.String,?> attrs, java.lang.Throwable thrown)voiddestroying(org.apache.sshd.server.session.ServerSession session)voidinitialized(org.apache.sshd.server.session.ServerSession session, int version)voidmoved(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)voidremoved(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.cli.server.helper.ServerEventListenerHelper
getName
-
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
-
-
-
-
Method Detail
-
initialized
public void initialized(org.apache.sshd.server.session.ServerSession session, int version) throws java.io.IOException- Specified by:
initializedin interfaceorg.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:
destroyingin interfaceorg.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:
createdin interfaceorg.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:
movedin interfaceorg.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:
removedin interfaceorg.apache.sshd.sftp.server.SftpEventListener- Throws:
java.io.IOException
-
-