#include <ArServerFileUtils.h>
Public Member Functions | |
ArServerFileLister (ArServerBase *server, const char *topDir, const char *defaultUploadDownloadDir=NULL) | |
Constructor. | |
void | getDefaultUploadDownloadDir (ArServerClient *client, ArNetPacket *packet) |
The function that gets the default upload/download dir. | |
void | getDirListing (ArServerClient *client, ArNetPacket *packet) |
The function that gets the directory listing. | |
void | getDirListingMultiplePackets (ArServerClient *client, ArNetPacket *packet) |
The function that gets the directory listing in a better way. | |
virtual | ~ArServerFileLister () |
Destructor. | |
Protected Attributes | |
char | myBaseDir [2048] |
std::string | myDefaultUploadDownloadDir |
ArFunctor2C< ArServerFileLister, ArServerClient *, ArNetPacket * > | myGetDefaultUploadDownloadDirCB |
ArFunctor2C< ArServerFileLister, ArServerClient *, ArNetPacket * > | myGetDirListingCB |
ArFunctor2C< ArServerFileLister, ArServerClient *, ArNetPacket * > | myGetDirListingMultiplePacketsCB |
ArServerBase * | myServer |