void |
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 section
|
void |
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 section
|
default void |
SftpFileSystemAccessor.closeFile(ServerSession session,
SftpEventListenerManager subsystem,
FileHandle fileHandle,
Path file,
String handle,
Channel channel,
Set<? extends OpenOption> options) |
Called to inform the accessor that it should close the file
|
default SeekableByteChannel |
SftpFileSystemAccessor.openFile(ServerSession session,
SftpEventListenerManager subsystem,
FileHandle fileHandle,
Path file,
String handle,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs) |
Called whenever a new file is opened
|
void |
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 file
|
void |
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 file
|
default void |
SftpFileSystemAccessor.syncFileData(ServerSession session,
SftpEventListenerManager subsystem,
FileHandle fileHandle,
Path file,
String handle,
Channel channel) |
Called when file meta-data re-synchronization is required
|
default FileLock |
SftpFileSystemAccessor.tryLock(ServerSession session,
SftpEventListenerManager 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(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 section
|
void |
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 section
|
void |
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 file
|
void |
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
|