Namespace for protocol headers. More...
Variables | |
const string | filecopy = "FC" |
const string | authenticate = "AUTH" |
const string | ok = "OK" |
const string | delim = ":" |
const string | end = "\r\n" |
const string | close = "CLOSE" |
const string | extract = "EXTRACT" |
Namespace for protocol headers.
The namespace defines the communication message protocol headers that defines operations between the client and the server.
const string headers::authenticate = "AUTH" |
Definition at line 18 of file worker.h.
Referenced by Worker::auth().
const string headers::close = "CLOSE" |
Definition at line 22 of file worker.h.
Referenced by Worker::killConnection(), Server::killConnection(), Worker::receiveMessage(), and Server::stop().
const string headers::delim = ":" |
Definition at line 20 of file worker.h.
Referenced by Worker::auth(), Worker::parseARGS(), and Worker::sendfile().
const string headers::end = "\r\n" |
Definition at line 21 of file worker.h.
Referenced by Worker::auth(), Worker::intent(), Worker::parseARGS(), Worker::receivefile(), and Worker::sendfile().
const string headers::extract = "EXTRACT" |
Definition at line 23 of file worker.h.
Referenced by Worker::intent().
const string headers::filecopy = "FC" |
Definition at line 17 of file worker.h.
Referenced by Worker::receivefile(), and Worker::sendfile().
const string headers::ok = "OK" |
Definition at line 19 of file worker.h.
Referenced by Worker::intent(), Worker::receivefile(), and Worker::sendfile().