Class ScpCommandTransferEventListener
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.cli.server.helper.ServerEventListenerHelper
-
- org.apache.sshd.cli.server.helper.ScpCommandTransferEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.apache.sshd.common.NamedResource,org.apache.sshd.common.util.SshdEventListener,org.apache.sshd.scp.common.ScpTransferEventListener
public class ScpCommandTransferEventListener extends ServerEventListenerHelper implements org.apache.sshd.scp.common.ScpTransferEventListener
-
-
Constructor Summary
Constructors Constructor Description ScpCommandTransferEventListener(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendFileEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.lang.Throwable thrown)voidendFolderEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.lang.Throwable thrown)voidhandleFileEventAckInfo(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, org.apache.sshd.scp.common.helpers.ScpAckInfo ackInfo)voidstartFileEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms)voidstartFolderEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms)-
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
-
-
-
-
Method Detail
-
startFileEvent
public void startFileEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms) throws java.io.IOException- Specified by:
startFileEventin interfaceorg.apache.sshd.scp.common.ScpTransferEventListener- Throws:
java.io.IOException
-
endFileEvent
public void endFileEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.lang.Throwable thrown) throws java.io.IOException- Specified by:
endFileEventin interfaceorg.apache.sshd.scp.common.ScpTransferEventListener- Throws:
java.io.IOException
-
startFolderEvent
public void startFolderEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms) throws java.io.IOException- Specified by:
startFolderEventin interfaceorg.apache.sshd.scp.common.ScpTransferEventListener- Throws:
java.io.IOException
-
endFolderEvent
public void endFolderEvent(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.lang.Throwable thrown) throws java.io.IOException- Specified by:
endFolderEventin interfaceorg.apache.sshd.scp.common.ScpTransferEventListener- Throws:
java.io.IOException
-
handleFileEventAckInfo
public void handleFileEventAckInfo(org.apache.sshd.common.session.Session session, org.apache.sshd.scp.common.ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, org.apache.sshd.scp.common.helpers.ScpAckInfo ackInfo) throws java.io.IOException- Specified by:
handleFileEventAckInfoin interfaceorg.apache.sshd.scp.common.ScpTransferEventListener- Throws:
java.io.IOException
-
-