XRootD
Loading...
Searching...
No Matches
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}

References client, and netAddr.

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: