|
Public Member Functions |
| SRFileSystemClient () |
| used for deserialization
|
| SRFileSystemClient (IN(RInetAddress) address, int port) |
| ~SRFileSystemClient () |
bool | connect (IN(RString) constr, IN(RString) username, IN(RString) pass) |
void | connect (IN(RInetAddress) address, int port) |
virtual RString | getRootName () |
| returns the root name of the this file system Examples: /home/roger/myfile.zip ftp://ftp.artefaktur.com
|
bool | login (IN(RString) name, IN(RString) passwd) |
RbyteArray | retriveFile (IN(RFileInfo) fileInfo) |
| Client function: retrive file content from server.
|
void | sendFile (IN(RFileInfo) fileInfo, IN(RbyteArray) cont) |
| Client function: send file content to server.
|
bool | ping (bool returnping=true) |
| Send ping to server.
|
void | shutdownServer () |
| shutdown the connected server
|
RFileInfoArray | loadFileTree (IN(RString) root, bool recursive=true) |
| load the file tree
|
virtual bool | ownsFile (IN(RString) fqfname) |
virtual RFileArray | listFiles (IN(RString) directory, int listflags) |
virtual RFile | file (IN(RString) path) |
| creates an instance of given file.
|
virtual RFileImpl | getFileImpl (IN(RString) fqpath) |
| returns a file implementation for this full qualified file implementation
|
RFileInfo | findFile (IN(RString) fqfile) |
| find if given file is loaded
|
void | disconnect () |
| disconnects from server
|
Public Attributes |
RString | _host |
RString | _root |
mutable::acdk::net::RSocket | _server |
mutable::acdk::net::RTransRateReader | _transReader |
mutable::acdk::net::RTransRateWriter | _transWriter |
mutable::acdk::io::RObjectReader | _bin |
mutable::acdk::io::RObjectWriter | _bout |
RFileInfoArray | _files |
Static Public Attributes |
RString | _protocolName |
Protected Member Functions |
void | updateTransRate () |