Public Member Functions | |
| RemoteDirSearchSrv () | |
| ~RemoteDirSearchSrv () | |
| int | performCommands (int socket) throw (YGP::CommError) |
This is the server for the RemoteDirSearch-class.
Supported commands are:
file>"
file>";Attr=<attr>file>";Size=<size>Time=<timestamp>Attr=<attributes>
file>";Size=<size>Time=<timestamp>Attr=<attributes>
file>";Mode=<mode>ID>
ID>";Length=<length>length>;Data=<data>
ID>;Length=<length>;Data="<data>"
ID>
ID>Errors are reported in the following format:
status>[;E=<errortext>] | YGP::RemoteDirSearchSrv::RemoteDirSearchSrv | ( | ) |
Defaultconstructor.
| YGP::RemoteDirSearchSrv::~RemoteDirSearchSrv | ( | ) |
Destructor.
| int YGP::RemoteDirSearchSrv::performCommands | ( | int | socket | ) | throw (YGP::CommError) |
Handles the commands send from the client; the respectative action is performed and data is returned accordingly.
| socket | Socket for communication |
| YGP::CommError | In case of a communication problem |