public class RCONSOLE_FILETRANSFER extends VirtualServerUserWindowAdapter implements AdminFileTransferInterface
TOOLTIP_TEXT
Constructor and Description |
---|
RCONSOLE_FILETRANSFER() |
Modifier and Type | Method and Description |
---|---|
boolean |
closeFileTransfer()
Closes the file transfer of the requested file.
|
boolean |
continueFileTransfer()
Requests next block of data for the file transfer.
|
void |
create(VirtualPanel panel,
VirtualCUserWindow userWindow,
PhantomCUserWindow data)
This method is called whenever the class has been instantiated.
|
void |
fireCreate(Transaction trans)
This method fires the creation data transaction to the client.
|
void |
fireUpdate(Transaction trans)
This method is used to fire an update message to the client by
a virtual class.
|
boolean |
initiateFileTransfer(AdminFileTransferListener listener,
String fileName)
Initiates file transfer from client to server.
|
void |
issueAction(Transaction trans)
This method is invoked by the server kernel when an event has occurred
on the client side (such as a push button has been pressed).
|
boolean |
listDirectoryTree(AdminFileTransferListener listener,
String directory)
Lists the directory tree recursively in a directory.
|
boolean |
listFiles(AdminFileTransferListener listener,
String directory)
Lists all files (and directories) in a directory.
|
boolean |
listFiles(AdminFileTransferListener listener,
String directory,
boolean doExtended)
Lists all files (and directories) in a directory.
|
boolean |
selectFileForTransfer(AdminFileTransferListener listener)
Selects a file to transfer.
|
boolean |
selectTargetFile(AdminFileTransferListener listener)
Selects a directory on the client
|
boolean |
serverToClientFileTransfer(AdminFileTransferListener listener,
String fileName,
long totalSize,
int size,
byte[] data)
File transfer from server to client.
|
areTextPromptsAlwaysRefreshed, callControl, clientUpdated, deleteAll, deleteLine, dispose, getBackgroundColor, getCell, getColor, getFont, getForegroundColor, getLength, getLine, getLineCount, getNextSelection, getProperty, getText, hostScreenChanged, insertLine, isChecked, isEnabled, isVisible, refresh, refreshTextPrompts, selectField, setBackgroundColor, setCell, setChecked, setColor, setEnabled, setFileFromList, setFocus, setFocus, setFont, setForegroundColor, setLength, setLine, setListFromFile, setProperty, setSelection, setText, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areTextPromptsAlwaysRefreshed, clientUpdated, dispose, hostScreenChanged, refresh, refreshTextPrompts
callControl, deleteAll, deleteLine, getBackgroundColor, getCell, getColor, getFont, getForegroundColor, getLength, getLine, getLineCount, getNextSelection, getProperty, getText, insertLine, isChecked, isEnabled, isVisible, selectField, setBackgroundColor, setCell, setChecked, setColor, setEnabled, setFileFromList, setFocus, setFocus, setFont, setForegroundColor, setLength, setLine, setListFromFile, setProperty, setSelection, setText, setVisible
public void create(VirtualPanel panel, VirtualCUserWindow userWindow, PhantomCUserWindow data)
create
in interface VirtualServerUserWindowInterface
create
in class VirtualServerUserWindowAdapter
public void fireCreate(Transaction trans)
fireCreate
in interface VirtualUserWindowInterface
fireCreate
in class VirtualServerUserWindowAdapter
public void fireUpdate(Transaction trans)
fireUpdate
in interface VirtualUserWindowInterface
fireUpdate
in class VirtualServerUserWindowAdapter
public void issueAction(Transaction trans)
issueAction
in interface VirtualUserWindowInterface
issueAction
in class VirtualServerUserWindowAdapter
public boolean selectFileForTransfer(AdminFileTransferListener listener)
selectFileForTransfer
in interface AdminFileTransferInterface
public boolean listFiles(AdminFileTransferListener listener, String directory)
listFiles
in interface AdminFileTransferInterface
public boolean listFiles(AdminFileTransferListener listener, String directory, boolean doExtended)
listFiles
in interface AdminFileTransferInterface
public boolean initiateFileTransfer(AdminFileTransferListener listener, String fileName)
Note that just one file at a time can be active.
initiateFileTransfer
in interface AdminFileTransferInterface
public boolean serverToClientFileTransfer(AdminFileTransferListener listener, String fileName, long totalSize, int size, byte[] data)
Note that just one file at a time can be active.
serverToClientFileTransfer
in interface AdminFileTransferInterface
public boolean continueFileTransfer()
continueFileTransfer
in interface AdminFileTransferInterface
public boolean closeFileTransfer()
Note that just one file at a time can be active.
closeFileTransfer
in interface AdminFileTransferInterface
public boolean selectTargetFile(AdminFileTransferListener listener)
selectTargetFile
in interface AdminFileTransferInterface
public boolean listDirectoryTree(AdminFileTransferListener listener, String directory)
listDirectoryTree
in interface AdminFileTransferInterface
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.