XRootD
XrdCl::PostMasterImpl Struct Reference
+ Collaboration diagram for XrdCl::PostMasterImpl:

Public Types

typedef std::map< std::string, Channel * > ChannelMap
 

Public Member Functions

 PostMasterImpl ()
 
 ~PostMasterImpl ()
 

Public Attributes

ChannelMap pChannelMap
 
XrdSysMutex pChannelMapMutex
 
XrdSysRWLock pDisconnectLock
 
bool pInitialized
 
JobManagerpJobManager
 
XrdSysMutex pMtx
 
std::function< void(const URL &, const XRootDStatus &)> pOnConnErrCB
 
std::unique_ptr< JobpOnConnJob
 
PollerpPoller
 
bool pRunning
 
TaskManagerpTaskManager
 

Detailed Description

Definition at line 58 of file XrdClPostMaster.cc.

Member Typedef Documentation

◆ ChannelMap

typedef std::map<std::string, Channel*> XrdCl::PostMasterImpl::ChannelMap

Definition at line 77 of file XrdClPostMaster.cc.

Constructor & Destructor Documentation

◆ PostMasterImpl()

XrdCl::PostMasterImpl::PostMasterImpl ( )
inline

Definition at line 60 of file XrdClPostMaster.cc.

60  : pPoller( 0 ), pInitialized( false ), pRunning( false )
61  {
62  Env *env = DefaultEnv::GetEnv();
63  int workerThreads = DefaultWorkerThreads;
64  env->GetInt( "WorkerThreads", workerThreads );
65 
66  pTaskManager = new TaskManager();
67  pJobManager = new JobManager(workerThreads);
68  }
static Env * GetEnv()
Get default client environment.
const int DefaultWorkerThreads
TaskManager * pTaskManager

References XrdCl::DefaultWorkerThreads, XrdCl::DefaultEnv::GetEnv(), XrdCl::Env::GetInt(), pJobManager, and pTaskManager.

+ Here is the call graph for this function:

◆ ~PostMasterImpl()

XrdCl::PostMasterImpl::~PostMasterImpl ( )
inline

Definition at line 70 of file XrdClPostMaster.cc.

71  {
72  delete pPoller;
73  delete pTaskManager;
74  delete pJobManager;
75  }

References pJobManager, pPoller, and pTaskManager.

Member Data Documentation

◆ pChannelMap

ChannelMap XrdCl::PostMasterImpl::pChannelMap

Definition at line 81 of file XrdClPostMaster.cc.

◆ pChannelMapMutex

XrdSysMutex XrdCl::PostMasterImpl::pChannelMapMutex

Definition at line 82 of file XrdClPostMaster.cc.

◆ pDisconnectLock

XrdSysRWLock XrdCl::PostMasterImpl::pDisconnectLock

Definition at line 91 of file XrdClPostMaster.cc.

◆ pInitialized

bool XrdCl::PostMasterImpl::pInitialized

Definition at line 83 of file XrdClPostMaster.cc.

◆ pJobManager

JobManager* XrdCl::PostMasterImpl::pJobManager

Definition at line 85 of file XrdClPostMaster.cc.

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

◆ pMtx

XrdSysMutex XrdCl::PostMasterImpl::pMtx

Definition at line 87 of file XrdClPostMaster.cc.

◆ pOnConnErrCB

std::function<void( const URL&, const XRootDStatus& )> XrdCl::PostMasterImpl::pOnConnErrCB

Definition at line 89 of file XrdClPostMaster.cc.

◆ pOnConnJob

std::unique_ptr<Job> XrdCl::PostMasterImpl::pOnConnJob

Definition at line 88 of file XrdClPostMaster.cc.

◆ pPoller

Poller* XrdCl::PostMasterImpl::pPoller

Definition at line 79 of file XrdClPostMaster.cc.

Referenced by ~PostMasterImpl().

◆ pRunning

bool XrdCl::PostMasterImpl::pRunning

Definition at line 84 of file XrdClPostMaster.cc.

◆ pTaskManager

TaskManager* XrdCl::PostMasterImpl::pTaskManager

Definition at line 80 of file XrdClPostMaster.cc.

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


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