XRootD
XrdCl::XRootDChannelInfo Struct Reference

Information holder for xrootd channels. More...

+ Collaboration diagram for XrdCl::XRootDChannelInfo:

Public Types

typedef std::vector< XRootDStreamInfo > StreamInfoVector
 

Public Member Functions

 XRootDChannelInfo (const URL &url)
 
 ~XRootDChannelInfo ()
 

Public Attributes

char * authBuffer
 
XrdOucEnv * authEnv
 
XrdSecParameters * authParams
 
XrdSecProtocol * authProtocol
 
std::string authProtocolName
 
std::unique_ptr< BindPrefSelector > bindSelector
 
bool encrypted
 
std::atomic< uint32_t > finstcnt
 
bool firstLogIn
 
bool istpc
 
std::string logintoken
 
XrdSysMutex mutex
 
uint8_t oldSessionId [16]
 
uint32_t openFiles
 
XrdSecProtect * protection
 
uint32_t protocolVersion
 
std::vector< char > protRespBuff
 
unsigned int protRespSize
 
std::set< uint16_t > sentCloses
 
std::set< uint16_t > sentOpens
 
uint32_t serverFlags
 
uint8_t sessionId [16]
 
std::shared_ptr< SIDManager > sidManager
 
StreamInfoVector stream
 
std::string streamName
 
std::unique_ptr< StreamSelector > strmSelector
 
time_t waitBarrier
 

Detailed Description

Information holder for xrootd channels.

Definition at line 219 of file XrdClXRootDTransport.cc.

Member Typedef Documentation

◆ StreamInfoVector

Constructor & Destructor Documentation

◆ XRootDChannelInfo()

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

Definition at line 224 of file XrdClXRootDTransport.cc.

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

References XrdCl::URL::GetChannelId(), XrdCl::SIDMgrPool::GetSIDMgr(), XrdCl::SIDMgrPool::Instance(), oldSessionId, sessionId, and sidManager.

+ Here is the call graph for this function:

◆ ~XRootDChannelInfo()

XrdCl::XRootDChannelInfo::~XRootDChannelInfo ( )
inline

Definition at line 248 of file XrdClXRootDTransport.cc.

249  {
250  delete [] authBuffer;
251  }

References authBuffer.

Member Data Documentation

◆ authBuffer

char* XrdCl::XRootDChannelInfo::authBuffer

Definition at line 264 of file XrdClXRootDTransport.cc.

Referenced by ~XRootDChannelInfo().

◆ authEnv

XrdOucEnv* XrdCl::XRootDChannelInfo::authEnv

Definition at line 267 of file XrdClXRootDTransport.cc.

◆ authParams

XrdSecParameters* XrdCl::XRootDChannelInfo::authParams

Definition at line 266 of file XrdClXRootDTransport.cc.

◆ authProtocol

XrdSecProtocol* XrdCl::XRootDChannelInfo::authProtocol

Definition at line 265 of file XrdClXRootDTransport.cc.

◆ authProtocolName

std::string XrdCl::XRootDChannelInfo::authProtocolName

Definition at line 270 of file XrdClXRootDTransport.cc.

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

◆ bindSelector

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

Definition at line 282 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 262 of file XrdClXRootDTransport.cc.

◆ istpc

bool XrdCl::XRootDChannelInfo::istpc

◆ logintoken

std::string XrdCl::XRootDChannelInfo::logintoken

Definition at line 283 of file XrdClXRootDTransport.cc.

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

◆ mutex

◆ oldSessionId

uint8_t XrdCl::XRootDChannelInfo::oldSessionId[16]

Definition at line 261 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ openFiles

uint32_t XrdCl::XRootDChannelInfo::openFiles

◆ protection

XrdSecProtect* XrdCl::XRootDChannelInfo::protection

Definition at line 276 of file XrdClXRootDTransport.cc.

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

◆ protocolVersion

uint32_t XrdCl::XRootDChannelInfo::protocolVersion

Definition at line 259 of file XrdClXRootDTransport.cc.

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

◆ protRespBuff

std::vector<char> XrdCl::XRootDChannelInfo::protRespBuff

Definition at line 277 of file XrdClXRootDTransport.cc.

◆ protRespSize

unsigned int XrdCl::XRootDChannelInfo::protRespSize

Definition at line 278 of file XrdClXRootDTransport.cc.

◆ 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 260 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ sidManager

◆ stream

◆ streamName

◆ strmSelector

◆ waitBarrier

time_t XrdCl::XRootDChannelInfo::waitBarrier

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