XRootD
XrdHttpTpc::PMarkManager::SocketInfo Class Reference

#include <XrdHttpTpcPMarkManager.hh>

+ Collaboration diagram for XrdHttpTpc::PMarkManager::SocketInfo:

Public Member Functions

 SocketInfo (int fd, const struct sockaddr *sockP)
 

Public Attributes

XrdSecEntity client
 
XrdNetAddr netAddr
 

Detailed Description

This class allows to create and keep a XrdSecEntity object from the socket file descriptor and address Everything is done on the constructor

These infos will be used later on when we create new PMark handles

Definition at line 62 of file XrdHttpTpcPMarkManager.hh.

Constructor & Destructor Documentation

◆ SocketInfo()

XrdHttpTpc::PMarkManager::SocketInfo::SocketInfo ( int  fd,
const struct sockaddr *  sockP 
)

Definition at line 30 of file XrdHttpTpcPMarkManager.cc.

30  {
31  netAddr.Set(sockP,fd);
32  client.addrInfo = static_cast<XrdNetAddrInfo*>(&netAddr);
33 }
const char * Set(const char *hSpec, int pNum=PortInSpec)
Definition: XrdNetAddr.cc:216
XrdNetAddrInfo * addrInfo
Entity's connection details.
Definition: XrdSecEntity.hh:80

References XrdSecEntity::addrInfo, client, netAddr, and XrdNetAddr::Set().

+ Here is the call graph for this function:

Member Data Documentation

◆ client

XrdSecEntity XrdHttpTpc::PMarkManager::SocketInfo::client

Definition at line 66 of file XrdHttpTpcPMarkManager.hh.

Referenced by SocketInfo(), and XrdHttpTpc::PMarkManager::beginPMarks().

◆ netAddr

XrdNetAddr XrdHttpTpc::PMarkManager::SocketInfo::netAddr

Definition at line 65 of file XrdHttpTpcPMarkManager.hh.

Referenced by SocketInfo().


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