Public Types | |
| typedef std::map< std::string, std::shared_ptr< Channel > > | ChannelMap |
Public Member Functions | |
| PostMasterImpl () | |
| ~PostMasterImpl () | |
| void | addFinalize (Channel *ch) |
| Used to maintain a non-owning set of live Channels. Used by Finalize. | |
| std::shared_ptr< Channel > | GetChannel (const URL &url) |
| Get a channel for url, creating one if needed. | |
| void | removeFinalize (Channel *ch) |
| Used to maintain a non-owning set of live Channels. Used by Finalize. | |
Public Attributes | |
| ChannelMap | pChannelMap |
| XrdSysMutex | pChannelMapMutex |
| std::unordered_set< Channel * > | pFinalizeSet |
| XrdSysMutex | pFinalizeSetMutex |
| bool | pInitialized |
| JobManager * | pJobManager |
| XrdSysMutex | pMtx |
| std::function< void(const URL &, const XRootDStatus &)> | pOnConnErrCB |
| std::unique_ptr< Job > | pOnConnJob |
| Poller * | pPoller |
| bool | pRunning |
| TaskManager * | pTaskManager |
Definition at line 60 of file XrdClPostMaster.cc.
| typedef std::map<std::string, std::shared_ptr<Channel> > XrdCl::PostMasterImpl::ChannelMap |
Definition at line 102 of file XrdClPostMaster.cc.
|
inline |
Definition at line 62 of file XrdClPostMaster.cc.
References XrdCl::DefaultWorkerThreads, XrdCl::DefaultEnv::GetEnv(), XrdCl::Env::GetInt(), pInitialized, pJobManager, pPoller, pRunning, and pTaskManager.
|
inline |
Definition at line 72 of file XrdClPostMaster.cc.
References pJobManager, pPoller, and pTaskManager.
|
inline |
Used to maintain a non-owning set of live Channels. Used by Finalize.
Definition at line 82 of file XrdClPostMaster.cc.
References pFinalizeSet, and pFinalizeSetMutex.
Referenced by GetChannel().
Get a channel for url, creating one if needed.
Definition at line 566 of file XrdClPostMaster.cc.
References addFinalize(), XrdCl::Log::Error(), XrdCl::URL::GetChannelId(), XrdCl::TransportManager::GetHandler(), XrdCl::DefaultEnv::GetLog(), XrdCl::URL::GetProtocol(), XrdCl::DefaultEnv::GetTransportManager(), pChannelMap, pChannelMapMutex, pJobManager, XrdCl::PostMasterMsg, pPoller, pTaskManager, and removeFinalize().
|
inline |
Used to maintain a non-owning set of live Channels. Used by Finalize.
Definition at line 96 of file XrdClPostMaster.cc.
References pFinalizeSet, and pFinalizeSetMutex.
Referenced by GetChannel().
| ChannelMap XrdCl::PostMasterImpl::pChannelMap |
Definition at line 106 of file XrdClPostMaster.cc.
Referenced by GetChannel().
| XrdSysMutex XrdCl::PostMasterImpl::pChannelMapMutex |
Definition at line 110 of file XrdClPostMaster.cc.
Referenced by GetChannel().
| std::unordered_set<Channel*> XrdCl::PostMasterImpl::pFinalizeSet |
Definition at line 107 of file XrdClPostMaster.cc.
Referenced by addFinalize(), and removeFinalize().
| XrdSysMutex XrdCl::PostMasterImpl::pFinalizeSetMutex |
Definition at line 113 of file XrdClPostMaster.cc.
Referenced by addFinalize(), and removeFinalize().
| bool XrdCl::PostMasterImpl::pInitialized |
Definition at line 115 of file XrdClPostMaster.cc.
Referenced by PostMasterImpl().
| JobManager* XrdCl::PostMasterImpl::pJobManager |
Definition at line 117 of file XrdClPostMaster.cc.
Referenced by PostMasterImpl(), ~PostMasterImpl(), and GetChannel().
| XrdSysMutex XrdCl::PostMasterImpl::pMtx |
Definition at line 119 of file XrdClPostMaster.cc.
| std::function<void( const URL&, const XRootDStatus& )> XrdCl::PostMasterImpl::pOnConnErrCB |
Definition at line 121 of file XrdClPostMaster.cc.
| std::unique_ptr<Job> XrdCl::PostMasterImpl::pOnConnJob |
Definition at line 120 of file XrdClPostMaster.cc.
| Poller* XrdCl::PostMasterImpl::pPoller |
Definition at line 104 of file XrdClPostMaster.cc.
Referenced by PostMasterImpl(), ~PostMasterImpl(), and GetChannel().
| bool XrdCl::PostMasterImpl::pRunning |
Definition at line 116 of file XrdClPostMaster.cc.
Referenced by PostMasterImpl().
| TaskManager* XrdCl::PostMasterImpl::pTaskManager |
Definition at line 105 of file XrdClPostMaster.cc.
Referenced by PostMasterImpl(), ~PostMasterImpl(), and GetChannel().