Print

Print


All the connections are managed by the connection manager, you should
look at the garbage collector to easily see how to access the list:
http://xrootd.cern.ch/cgi-bin/cgit.cgi/xrootd/tree/src/XrdClient/XrdClientConnMgr.cc#n238

The physical connection currently used by the Client object and
(meta)manager's and data server's URLs are referenced here:
http://xrootd.cern.ch/cgi-bin/cgit.cgi/xrootd/tree/src/XrdClient/XrdClientConn.cc
http://xrootd.cern.ch/cgi-bin/cgit.cgi/xrootd/tree/src/XrdClient/XrdClientConn.hh

Lukasz

2012/2/2 Brian Bockelman <[log in to unmask]>:
> Hi all,
>
> I'm writing a custom exception message for CMSSW.  When an exception occurs, I'd like the error message to include the list of currently connected hosts associated with the XrdClient object.
>
> I'm not incredibly familiar with the internals of the client.  Can anyone give a general outline of how I might go about this?  Would save me some time.
>
> Brian
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the XROOTD-DEV list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1