Main Page | Class Hierarchy | Alphabetical List | Class List | Class Members | Related Pages

ArServerFileLister Class Reference

#include <ArServerFileUtils.h>

List of all members.


Detailed Description

Provides a list of files to clients.

Note:
Linux only
This class is set up so that a client can get file information from the robot, this class ONLY lists files, and doesn't do any manipulation of them. You should use this class by using ArClientFileLister and NOT by using this classes interface directly, this is because the API is and will remain fairly volatile, just use ArClientFileLister, if you need more functionality let us know and we'll add it if its reasonable.


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
ArServerBasemyServer


The documentation for this class was generated from the following file:
Generated on Tue Aug 18 05:23:28 2009 for ArNetworking by  doxygen 1.4.2