|
xrootd
|


Public Member Functions | |
| virtual void | HandleConnection (int socket) |
Public Member Functions inherited from XrdClTests::ClientHandler | |
| ClientHandler () | |
| Constructor. More... | |
| virtual | ~ClientHandler () |
| Destructor. More... | |
| void | UpdateSentData (char *buffer, uint32_t size) |
| Update statistics of the received data. More... | |
| void | UpdateReceivedData (char *buffer, uint32_t size) |
| Update statistics of the sent data. More... | |
| uint64_t | GetSentBytes () const |
| Get sent bytes count. More... | |
| uint32_t | GetSentChecksum () const |
| Get the checksum of the sent data buffers. More... | |
| uint64_t | GetReceivedBytes () const |
| Get the received bytes count. More... | |
| uint32_t | GetReceivedChecksum () const |
| Get the checksum of the received data buffers. More... | |
|
inlinevirtual |
Handle connection
| socket | the connection socket - needs to be closed when not needed |
Implements XrdClTests::ClientHandler.
References XrdCl::Log::Debug(), XrdCl::Log::Dump(), XrdCl::Log::Error(), XrdClTests::TestEnv::GetLog(), XrdClTests::Utils::GetRandomBytes(), and write().
1.8.3.1