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:
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
created
(org.apache.sshd.server.session.ServerSession session, Path path, Map<String, ?> attrs, 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, Path srcPath, Path dstPath, Collection<CopyOption> opts, Throwable thrown) void
removed
(org.apache.sshd.server.session.ServerSession session, Path path, boolean isDirectory, 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
-
Constructor Details
-
SftpServerSubSystemEventListener
public SftpServerSubSystemEventListener(org.slf4j.Logger logger)
-
-
Method Details
-
initialized
public void initialized(org.apache.sshd.server.session.ServerSession session, int version) throws IOException - Specified by:
initialized
in interfaceorg.apache.sshd.sftp.server.SftpEventListener
- Throws:
IOException
-
destroying
- Specified by:
destroying
in interfaceorg.apache.sshd.sftp.server.SftpEventListener
- Throws:
IOException
-
created
public void created(org.apache.sshd.server.session.ServerSession session, Path path, Map<String, ?> attrs, Throwable thrown) throws IOException- Specified by:
created
in interfaceorg.apache.sshd.sftp.server.SftpEventListener
- Throws:
IOException
-
moved
public void moved(org.apache.sshd.server.session.ServerSession session, Path srcPath, Path dstPath, Collection<CopyOption> opts, Throwable thrown) throws IOException - Specified by:
moved
in interfaceorg.apache.sshd.sftp.server.SftpEventListener
- Throws:
IOException
-
removed
public void removed(org.apache.sshd.server.session.ServerSession session, Path path, boolean isDirectory, Throwable thrown) throws IOException - Specified by:
removed
in interfaceorg.apache.sshd.sftp.server.SftpEventListener
- Throws:
IOException
-