Package | Description |
---|---|
org.apache.sshd.sftp.server |
Modifier and Type | Method and Description |
---|---|
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.blocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask,
Throwable thrown) |
default void |
SftpEventListener.blocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask)
Called prior to blocking a file section
|
void |
AbstractSftpEventListenerAdapter.blocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask) |
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
|
default SeekableByteChannel |
SftpFileSystemAccessor.openFile(SftpSubsystemProxy subsystem,
FileHandle fileHandle,
Path file,
String handle,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
Called whenever a new file is opened
|
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.read(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
int readLen,
Throwable thrown) |
default void |
SftpEventListener.reading(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen)
Preparing to read from a file
|
void |
AbstractSftpEventListenerAdapter.reading(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen) |
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
|
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.unblocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
Throwable thrown) |
default void |
SftpEventListener.unblocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length)
Called prior to un-blocking a file section
|
void |
AbstractSftpEventListenerAdapter.unblocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length) |
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.writing(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen) |
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
|
void |
AbstractSftpEventListenerAdapter.written(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
Throwable thrown) |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.