XRootD
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 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  protRespBody(0),
237  protRespSize(0),
238  encrypted(false),
239  istpc(false)
240  {
241  sidManager = SIDMgrPool::Instance().GetSIDMgr( url.GetChannelId() );
242  memset( sessionId, 0, 16 );
243  memset( oldSessionId, 0, 16 );
244  }
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 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 249 of file XrdClXRootDTransport.cc.

250  {
251  delete [] authBuffer;
252  }

References authBuffer.

Member Data Documentation

◆ authBuffer

char* XrdCl::XRootDChannelInfo::authBuffer

Definition at line 265 of file XrdClXRootDTransport.cc.

Referenced by ~XRootDChannelInfo().

◆ authEnv

XrdOucEnv* XrdCl::XRootDChannelInfo::authEnv

Definition at line 268 of file XrdClXRootDTransport.cc.

◆ authParams

XrdSecParameters* XrdCl::XRootDChannelInfo::authParams

Definition at line 267 of file XrdClXRootDTransport.cc.

◆ authProtocol

XrdSecProtocol* XrdCl::XRootDChannelInfo::authProtocol

Definition at line 266 of file XrdClXRootDTransport.cc.

◆ authProtocolName

std::string XrdCl::XRootDChannelInfo::authProtocolName

Definition at line 271 of file XrdClXRootDTransport.cc.

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

◆ bindSelector

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

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

◆ istpc

bool XrdCl::XRootDChannelInfo::istpc

◆ logintoken

std::string XrdCl::XRootDChannelInfo::logintoken

Definition at line 284 of file XrdClXRootDTransport.cc.

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

◆ mutex

◆ oldSessionId

uint8_t XrdCl::XRootDChannelInfo::oldSessionId[16]

Definition at line 262 of file XrdClXRootDTransport.cc.

Referenced by XRootDChannelInfo().

◆ openFiles

uint32_t XrdCl::XRootDChannelInfo::openFiles

◆ protection

XrdSecProtect* XrdCl::XRootDChannelInfo::protection

Definition at line 277 of file XrdClXRootDTransport.cc.

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

◆ protocolVersion

uint32_t XrdCl::XRootDChannelInfo::protocolVersion

Definition at line 260 of file XrdClXRootDTransport.cc.

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

◆ protRespBody

ServerResponseBody_Protocol* XrdCl::XRootDChannelInfo::protRespBody

Definition at line 278 of file XrdClXRootDTransport.cc.

◆ protRespSize

unsigned int XrdCl::XRootDChannelInfo::protRespSize

Definition at line 279 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 261 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: