XRootD
Loading...
Searching...
No Matches
XrdCl::XRootDChannelInfo Struct Reference

Information holder for xrootd channels. More...

Collaboration diagram for XrdCl::XRootDChannelInfo:

Public Types

typedef std::vector< XRootDStreamInfoStreamInfoVector

Public Member Functions

 XRootDChannelInfo (const URL &url)
 ~XRootDChannelInfo ()

Public Attributes

char * authBuffer
XrdOucEnvauthEnv
XrdSecParametersauthParams
XrdSecProtocolauthProtocol
std::string authProtocolName
std::unique_ptr< BindPrefSelectorbindSelector
bool encrypted
std::atomic< uint32_t > finstcnt
bool firstLogIn
bool istpc
std::string logintoken
XrdSysMutex mutex
uint8_t oldSessionId [16]
uint32_t openFiles
XrdSecProtectprotection
uint32_t protocolVersion
ServerResponseBody_ProtocolprotRespBody
unsigned int protRespSize
std::set< uint16_t > sentCloses
std::set< uint16_t > sentOpens
uint32_t serverFlags
uint8_t sessionId [16]
std::shared_ptr< SIDManagersidManager
StreamInfoVector stream
std::string streamName
std::unique_ptr< StreamSelectorstrmSelector
time_t waitBarrier

Detailed Description

Information holder for xrootd channels.

Definition at line 221 of file XrdClXRootDTransport.cc.

Member Typedef Documentation

◆ StreamInfoVector

Constructor & Destructor Documentation

◆ XRootDChannelInfo()

XrdCl::XRootDChannelInfo::XRootDChannelInfo ( const URL & url)
inline

Definition at line 226 of file XrdClXRootDTransport.cc.

226 :
227 serverFlags(0),
229 firstLogIn(true),
230 authBuffer(0),
231 authProtocol(0),
232 authParams(0),
233 authEnv(0),
234 finstcnt(0),
235 openFiles(0),
236 waitBarrier(0),
237 protection(0),
238 protRespBody(0),
239 protRespSize(0),
240 encrypted(false),
241 istpc(false)
242 {
243 sidManager = SIDMgrPool::Instance().GetSIDMgr( url.GetChannelId() );
244 memset( sessionId, 0, 16 );
245 memset( oldSessionId, 0, 16 );
246 }
static SIDMgrPool & Instance()
std::shared_ptr< SIDManager > GetSIDMgr(const URL &url)
std::atomic< uint32_t > finstcnt
ServerResponseBody_Protocol * protRespBody
std::shared_ptr< SIDManager > sidManager

References authBuffer, authEnv, authParams, authProtocol, encrypted, finstcnt, firstLogIn, XrdCl::URL::GetChannelId(), XrdCl::SIDMgrPool::GetSIDMgr(), XrdCl::SIDMgrPool::Instance(), istpc, oldSessionId, openFiles, protection, protocolVersion, protRespBody, protRespSize, serverFlags, sessionId, sidManager, and waitBarrier.

Here is the call graph for this function:

◆ ~XRootDChannelInfo()

XrdCl::XRootDChannelInfo::~XRootDChannelInfo ( )
inline

Definition at line 251 of file XrdClXRootDTransport.cc.

252 {
253 delete [] authBuffer;
254 }

References authBuffer.

Member Data Documentation

◆ authBuffer

char* XrdCl::XRootDChannelInfo::authBuffer

Definition at line 267 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo(), and ~XRootDChannelInfo().

◆ authEnv

XrdOucEnv* XrdCl::XRootDChannelInfo::authEnv

Definition at line 270 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ authParams

XrdSecParameters* XrdCl::XRootDChannelInfo::authParams

Definition at line 269 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ authProtocol

XrdSecProtocol* XrdCl::XRootDChannelInfo::authProtocol

Definition at line 268 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ authProtocolName

std::string XrdCl::XRootDChannelInfo::authProtocolName

Definition at line 273 of file XrdClXRootDTransport.cc.

Referenced by XrdCl::XRootDTransport::Query().

◆ bindSelector

std::unique_ptr<BindPrefSelector> XrdCl::XRootDChannelInfo::bindSelector

Definition at line 285 of file XrdClXRootDTransport.cc.

Referenced by XrdCl::XRootDTransport::GetBindPreference().

◆ encrypted

◆ finstcnt

std::atomic<uint32_t> XrdCl::XRootDChannelInfo::finstcnt

◆ firstLogIn

bool XrdCl::XRootDChannelInfo::firstLogIn

Definition at line 265 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ istpc

bool XrdCl::XRootDChannelInfo::istpc

◆ logintoken

std::string XrdCl::XRootDChannelInfo::logintoken

Definition at line 286 of file XrdClXRootDTransport.cc.

Referenced by XrdCl::XRootDTransport::InitializeChannel().

◆ mutex

◆ oldSessionId

uint8_t XrdCl::XRootDChannelInfo::oldSessionId[16]

Definition at line 264 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ openFiles

◆ protection

XrdSecProtect* XrdCl::XRootDChannelInfo::protection

◆ protocolVersion

uint32_t XrdCl::XRootDChannelInfo::protocolVersion

Definition at line 262 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo(), and XrdCl::XRootDTransport::Query().

◆ protRespBody

ServerResponseBody_Protocol* XrdCl::XRootDChannelInfo::protRespBody

Definition at line 280 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ protRespSize

unsigned int XrdCl::XRootDChannelInfo::protRespSize

Definition at line 281 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ sentCloses

std::set<uint16_t> XrdCl::XRootDChannelInfo::sentCloses

◆ sentOpens

std::set<uint16_t> XrdCl::XRootDChannelInfo::sentOpens

◆ serverFlags

◆ sessionId

uint8_t XrdCl::XRootDChannelInfo::sessionId[16]

Definition at line 263 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ sidManager

◆ stream

◆ streamName

◆ strmSelector

◆ waitBarrier


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