public interface AdminFileTransferListener
Modifier and Type | Method and Description |
---|---|
void |
onDirectoryList(VirtualPanel vp,
AdminFileTransferInterface ft,
AdminConfigFileTransferItem[] files)
Returns the list of all files or directories in the requested directory.
|
void |
onFileDownload(VirtualPanel vp,
AdminFileTransferInterface ft,
long totalSize,
byte[] data)
A piece of the download data of a file (data is null when cancelled).
|
void |
onFileSelected(VirtualPanel vp,
AdminFileTransferInterface ft,
String fileName,
long size)
A file has been selected in the dialog box (or cancelled if file name is null).
|
void |
onFileTransferError(VirtualPanel vp,
AdminFileTransferInterface ft,
String errorMessage)
Called whenever a file transfer error occurs.
|
void |
onFileUpload(VirtualPanel vp,
AdminFileTransferInterface ft)
The client is ready to receive next chunk of data.
|
void |
onFileUploadComplete(VirtualPanel vp,
AdminFileTransferInterface ft)
The client confirms that the file transfer is completed.
|
void |
onTargetFileSelected(VirtualPanel vp,
AdminFileTransferInterface ft,
String directory)
A target file has been selected, on the client side, in the dialog box (or cancelled if file name is null).
|
void onFileTransferError(VirtualPanel vp, AdminFileTransferInterface ft, String errorMessage)
void onFileSelected(VirtualPanel vp, AdminFileTransferInterface ft, String fileName, long size)
void onDirectoryList(VirtualPanel vp, AdminFileTransferInterface ft, AdminConfigFileTransferItem[] files)
void onFileDownload(VirtualPanel vp, AdminFileTransferInterface ft, long totalSize, byte[] data)
void onFileUpload(VirtualPanel vp, AdminFileTransferInterface ft)
void onTargetFileSelected(VirtualPanel vp, AdminFileTransferInterface ft, String directory)
void onFileUploadComplete(VirtualPanel vp, AdminFileTransferInterface ft)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.