ArServerFileToClient Class Reference

#include <ArServerFileUtils.h>

List of all members.


Detailed Description

Gets files from the server.

Note:
Linux only
This class is set up so that a client can get files the robot, this class ONLY gets files. You should use this class by using ArClientFileToClient and NOT by using this classes interface directly, this is because the API is and will remain fairly volatile... if you need more functionality let us know and we'll add it if its reasonable.


Public Member Functions

 ArServerFileToClient (ArServerBase *server, const char *topDir)
 Constructor.
void getFile (ArServerClient *client, ArNetPacket *packet)
 Gets the file.
void getFileWithTimestamp (ArServerClient *client, ArNetPacket *packet)
 Gets the file, and sets its timestamp to the original server value.
virtual ~ArServerFileToClient ()
 Destructor.

Protected Member Functions

void doGetFile (ArServerClient *client, ArNetPacket *packet, bool isSetTimestamp)

Protected Attributes

char myBaseDir [2048]
ArFunctor2C< ArServerFileToClient,
ArServerClient *, ArNetPacket * > 
myGetFileCB
ArFunctor2C< ArServerFileToClient,
ArServerClient *, ArNetPacket * > 
myGetFileWithTimestampCB
ArServerBasemyServer


The documentation for this class was generated from the following file:
Generated on Thu Aug 6 09:40:12 2009 for ArNetworking by  doxygen 1.5.1