ArNetworking: ArServerFileLister Class Reference

- Main Page
- Classes
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# 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
ArServerBase * | myServer

The documentation for this class was generated from the following file:

- ArServerFileUtils.h