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
logFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreated(org.apache.sshd.server.session.ServerSession session, Path path, Map<String, ?> attrs, 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, Path srcPath, Path dstPath, Collection<CopyOption> opts, Throwable thrown) voidremoved(org.apache.sshd.server.session.ServerSession session, Path path, boolean isDirectory, Throwable thrown) Methods inherited from class ServerEventListenerHelper
getNameMethods 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, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
initializedin interfaceorg.apache.sshd.sftp.server.SftpEventListener- Throws:
IOException
-
destroying
- Specified by:
destroyingin 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:
createdin 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:
movedin 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:
removedin interfaceorg.apache.sshd.sftp.server.SftpEventListener- Throws:
IOException
-