15 #include "recentConnectionReader.h" 16 #include "config_net.h" 17 #include "lightMutexHolder.h" 24 RecentConnectionReader::
40 RecentConnectionReader::
41 ~RecentConnectionReader() {
112 void RecentConnectionReader::
114 if (net_cat.is_debug()) {
116 <<
"Received datagram of " << datagram.
get_length()
121 _datagram = datagram;
A specific kind of Datagram, especially for sending across or receiving from a network.
The primary interface to the low-level networking layer in this package.
void shutdown()
Terminates all threads cleanly.
bool get_data(NetDatagram &result)
If a previous call to data_available() returned true, this function will return the datagram that has...
This is an abstract base class for a family of classes that listen for activity on a socket and respo...
bool data_available()
Returns true if a datagram is available on the queue; call get_data() to extract the datagram...
Similar to MutexHolder, but for a light mutex.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
size_t get_length() const
Returns the number of bytes in the datagram.