Uses of Class
org.apache.sshd.sftp.server.FileHandle

Packages that use FileHandle
Package
Description
 
  • Uses of FileHandle in org.apache.sshd.sftp.server

    Methods in org.apache.sshd.sftp.server with parameters of type FileHandle
    Modifier and Type
    Method
    Description
    void
    AbstractSftpEventListenerAdapter.blocked(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, int mask, Throwable thrown)
     
    default void
    SftpEventListener.blocked(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, int mask, Throwable thrown)
    Called after blocking a file section
    void
    AbstractSftpEventListenerAdapter.blocking(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, int mask)
     
    default void
    SftpEventListener.blocking(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, int mask)
    Called prior to blocking a file section
    default void
    SftpFileSystemAccessor.closeFile(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Channel channel, Set<? extends OpenOption> options)
    Called to inform the accessor that it should close the file
    SftpFileSystemAccessor.openFile(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Set<? extends OpenOption> options, FileAttribute<?>... attrs)
    Called whenever a new file is opened
    void
    AbstractSftpEventListenerAdapter.read(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen, int readLen, Throwable thrown)
     
    default void
    SftpEventListener.read(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen, int readLen, Throwable thrown)
    Result of reading from a file
    void
    AbstractSftpEventListenerAdapter.reading(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen)
     
    default void
    SftpEventListener.reading(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen)
    Preparing to read from a file
    default void
    SftpFileSystemAccessor.syncFileData(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Channel channel)
    Called when file meta-data re-synchronization is required
    default FileLock
    SftpFileSystemAccessor.tryLock(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Channel channel, long position, long size, boolean shared)
    Called when locking a section of a file is requested
    void
    AbstractSftpEventListenerAdapter.unblocked(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, Throwable thrown)
     
    default void
    SftpEventListener.unblocked(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, Throwable thrown)
    Called prior to un-blocking a file section
    void
    AbstractSftpEventListenerAdapter.unblocking(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length)
     
    default void
    SftpEventListener.unblocking(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length)
    Called prior to un-blocking a file section
    void
    AbstractSftpEventListenerAdapter.writing(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen)
     
    default void
    SftpEventListener.writing(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen)
    Preparing to write to file
    void
    AbstractSftpEventListenerAdapter.written(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen, Throwable thrown)
     
    default void
    SftpEventListener.written(org.apache.sshd.server.session.ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen, Throwable thrown)
    Finished to writing to file