Uses of Class
org.apache.sshd.sftp.server.FileHandle
Packages that use FileHandle
-
Uses of FileHandle in org.apache.sshd.sftp.server
Methods in org.apache.sshd.sftp.server with parameters of type FileHandleModifier and TypeMethodDescriptionvoid
AbstractSftpEventListenerAdapter.blocked
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, int mask, Throwable thrown) default void
SftpEventListener.blocked
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, int mask, Throwable thrown) Called after blocking a file sectionvoid
AbstractSftpEventListenerAdapter.blocking
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, int mask) default void
SftpEventListener.blocking
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, int mask) Called prior to blocking a file sectiondefault 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 filedefault SeekableByteChannel
SftpFileSystemAccessor.openFile
(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Set<? extends OpenOption> options, FileAttribute<?>... attrs) Called whenever a new file is openedvoid
AbstractSftpEventListenerAdapter.read
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen, int readLen, Throwable thrown) default void
SftpEventListener.read
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen, int readLen, Throwable thrown) Result of reading from a filevoid
AbstractSftpEventListenerAdapter.reading
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen) default void
SftpEventListener.reading
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen) Preparing to read from a filedefault void
SftpFileSystemAccessor.syncFileData
(SftpSubsystemProxy subsystem, FileHandle fileHandle, Path file, String handle, Channel channel) Called when file meta-data re-synchronization is requireddefault 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 requestedvoid
AbstractSftpEventListenerAdapter.unblocked
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, Throwable thrown) default void
SftpEventListener.unblocked
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length, Throwable thrown) Called prior to un-blocking a file sectionvoid
AbstractSftpEventListenerAdapter.unblocking
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length) default void
SftpEventListener.unblocking
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, long length) Called prior to un-blocking a file sectionvoid
AbstractSftpEventListenerAdapter.writing
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen) default void
SftpEventListener.writing
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen) Preparing to write to filevoid
AbstractSftpEventListenerAdapter.written
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen, Throwable thrown) default void
SftpEventListener.written
(ServerSession session, String remoteHandle, FileHandle localHandle, long offset, byte[] data, int dataOffset, int dataLen, Throwable thrown) Finished to writing to file