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 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.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:
initialized
in 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:
destroying
in 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:
created
in 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:
moved
in 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:
removed
in interfaceorg.apache.sshd.sftp.server.SftpEventListener
- Throws:
java.io.IOException
-
-