xrootd
Public Member Functions | Private Attributes
SocketHandler Class Reference
Inheritance diagram for SocketHandler:
Inheritance graph
[legend]
Collaboration diagram for SocketHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void Initialize (XrdCl::Poller *poller)
 Initializer.
virtual void Event (uint8_t type, XrdCl::Socket *socket)
 Called when an event occurred on a given socket.
void UpdateTransferMap (const std::string &sockName, const void *buffer, uint32_t size)
std::pair< uint64_t, uint32_t > GetReceivedStats (const std::string sockName) const
 Get the stats of the received data.

Private Attributes

Server::TransferMap pMap
XrdCl::Poller * pPoller

Member Function Documentation

virtual void SocketHandler::Event ( uint8_t  type,
XrdCl::Socket *  socket 
) [inline, virtual]

Called when an event occurred on a given socket.

Implements XrdCl::SocketHandler.

References XrdCl::Socket::GetFD(), XrdCl::Socket::GetSockName(), and read().

std::pair<uint64_t, uint32_t> SocketHandler::GetReceivedStats ( const std::string  sockName) const [inline]

Get the stats of the received data.

virtual void SocketHandler::Initialize ( XrdCl::Poller *  ) [inline, virtual]

Initializer.

Reimplemented from XrdCl::SocketHandler.

void SocketHandler::UpdateTransferMap ( const std::string &  sockName,
const void *  buffer,
uint32_t  size 
) [inline]

Member Data Documentation


The documentation for this class was generated from the following file: