Communicator

Undocumented in source.

Constructors

this
this(DaemonConfigPtr config)
Undocumented in source.

Members

Enums

State
enum State
Undocumented in source.

Functions

completed
bool completed()
Undocumented in source. Be warned that the author may not have intended to support it.
read
void read(bool fromBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
setClientSocket
void setClientSocket(Socket s, ulong requestId)
Undocumented in source. Be warned that the author may not have intended to support it.
setResponseLength
void setResponseLength(size_t s)
Undocumented in source. Be warned that the author may not have intended to support it.
setWorker
void setWorker(WorkerInfo worker)
Undocumented in source. Be warned that the author may not have intended to support it.
unsetClientSocket
void unsetClientSocket()
Undocumented in source. Be warned that the author may not have intended to support it.
unsetWorker
void unsetWorker()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(char[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

alive
SimpleList alive;
Undocumented in source.
dead
SimpleList dead;
Undocumented in source.
instances
Communicator[] instances;
Undocumented in source.

Variables

bufferSent
size_t bufferSent;
Undocumented in source.
clientSkt
Socket clientSkt;
Undocumented in source.
config
DaemonConfigPtr config;
Undocumented in source.
hasQueuedRequests
bool hasQueuedRequests;
Undocumented in source.
id
size_t id;
Undocumented in source.
isKeepAlive
bool isKeepAlive;
Undocumented in source.
lastRecv
CoarseTime lastRecv;
Undocumented in source.
lastRequest
CoarseTime lastRequest;
Undocumented in source.
leftover
char[] leftover;
Undocumented in source.
requestDataReceived
bool requestDataReceived;
Undocumented in source.
requestId
string requestId;
Undocumented in source.
requestToProcess
ProtoRequest requestToProcess;
Undocumented in source.
responseLength
size_t responseLength;
Undocumented in source.
responseSent
size_t responseSent;
Undocumented in source.
sendBuffer
DataBuffer!char sendBuffer;
Undocumented in source.
status
Communicator.State status;
Undocumented in source.
worker
WorkerInfo worker;
Undocumented in source.

Meta