|
xrootd
|
#include <XrdClientEnv.hh>

Public Member Functions | |
| const char * | Get (const char *varname) |
| long | GetInt (const char *varname) |
| const char * | ShellGet (const char *varname) |
| long | ShellGetInt (const char *varname) |
| void | Put (const char *varname, const char *value) |
| void | PutInt (const char *varname, long value) |
Static Public Member Functions | |
| static XrdClientEnv * | Instance () |
Protected Member Functions | |
| XrdClientEnv () | |
| ~XrdClientEnv () | |
| bool | ImportStr (const char *varname) |
| bool | ImportInt (const char *varname) |
Private Attributes | |
| XrdOucEnv * | fOucEnv |
| XrdSysRecMutex | fMutex |
| XrdOucEnv * | fShellEnv |
Static Private Attributes | |
| static XrdClientEnv * | fgInstance = 0 |
| XrdClientEnv::XrdClientEnv | ( | ) | [protected] |
References fOucEnv, fShellEnv, PutInt(), NAME_CONNECTTIMEOUT, DFLT_CONNECTTIMEOUT, NAME_REQUESTTIMEOUT, DFLT_REQUESTTIMEOUT, NAME_MAXREDIRECTCOUNT, DFLT_MAXREDIRECTCOUNT, NAME_DEBUG, DFLT_DEBUG, NAME_RECONNECTWAIT, DFLT_RECONNECTWAIT, NAME_REDIRCNTTIMEOUT, DFLT_REDIRCNTTIMEOUT, NAME_FIRSTCONNECTMAXCNT, DFLT_FIRSTCONNECTMAXCNT, NAME_READCACHESIZE, DFLT_READCACHESIZE, NAME_READCACHEBLKREMPOLICY, DFLT_READCACHEBLKREMPOLICY, NAME_READAHEADSIZE, DFLT_READAHEADSIZE, NAME_MULTISTREAMCNT, DFLT_MULTISTREAMCNT, NAME_DFLTTCPWINDOWSIZE, DFLT_DFLTTCPWINDOWSIZE, NAME_DATASERVERCONN_TTL, DFLT_DATASERVERCONN_TTL, NAME_LBSERVERCONN_TTL, DFLT_LBSERVERCONN_TTL, NAME_PURGEWRITTENBLOCKS, DFLT_PURGEWRITTENBLOCKS, NAME_READAHEADSTRATEGY, DFLT_READAHEADSTRATEGY, NAME_READTRIMBLKSZ, DFLT_READTRIMBLKSZ, NAME_TRANSACTIONTIMEOUT, DFLT_TRANSACTIONTIMEOUT, NAME_REMUSEDCACHEBLKS, DFLT_REMUSEDCACHEBLKS, NAME_ENABLE_FORK_HANDLERS, DFLT_ENABLE_FORK_HANDLERS, NAME_ENABLE_TCP_KEEPALIVE, DFLT_ENABLE_TCP_KEEPALIVE, NAME_TCP_KEEPALIVE_TIME, DFLT_TCP_KEEPALIVE_TIME, NAME_TCP_KEEPALIVE_INTERVAL, DFLT_TCP_KEEPALIVE_INTERVAL, NAME_TCP_KEEPALIVE_PROBES, DFLT_TCP_KEEPALIVE_PROBES, NAME_XRDCP_SIZE_HINT, DFLT_XRDCP_SIZE_HINT, NAME_PRINT_REDIRECTS, DFLT_PRINT_REDIRECTS, and ImportInt().
Referenced by Instance().
| XrdClientEnv::~XrdClientEnv | ( | ) | [protected] |
References fOucEnv, fShellEnv, and fgInstance.
| const char* XrdClientEnv::Get | ( | const char * | varname | ) | [inline] |
| long XrdClientEnv::GetInt | ( | const char * | varname | ) | [inline] |
| bool XrdClientEnv::ImportInt | ( | const char * | varname | ) | [protected] |
References XrdOucEnv::Import(), fShellEnv, and XrdOucEnv::PutInt().
Referenced by XrdClientEnv().
| bool XrdClientEnv::ImportStr | ( | const char * | varname | ) | [protected] |
Import the variables from the shell environment, the variable names are capitalized and prefixed with "XRD_"
References XrdOucEnv::Import(), fShellEnv, and XrdOucEnv::Put().
| XrdClientEnv * XrdClientEnv::Instance | ( | ) | [static] |
References fgInstance, and XrdClientEnv().
| void XrdClientEnv::Put | ( | const char * | varname, |
| const char * | value | ||
| ) | [inline] |
| void XrdClientEnv::PutInt | ( | const char * | varname, |
| long | value | ||
| ) | [inline] |
Referenced by XrdClientEnv().
| const char * XrdClientEnv::ShellGet | ( | const char * | varname | ) |
Get a string variable from the environment, the same as Get, but checks the shell environment first
References fMutex, fShellEnv, XrdOucEnv::Get(), and fOucEnv.
| long XrdClientEnv::ShellGetInt | ( | const char * | varname | ) |
Get an integet variable from the environment, the same as GetInt, but checks the shell environment first
References fMutex, fShellEnv, XrdOucEnv::Get(), XrdOucEnv::GetInt(), and fOucEnv.
XrdClientEnv * XrdClientEnv::fgInstance = 0 [static, private] |
Referenced by Instance(), and ~XrdClientEnv().
XrdSysRecMutex XrdClientEnv::fMutex [private] |
Referenced by ShellGet(), and ShellGetInt().
XrdOucEnv* XrdClientEnv::fOucEnv [private] |
Referenced by XrdClientEnv(), ShellGet(), ShellGetInt(), and ~XrdClientEnv().
XrdOucEnv* XrdClientEnv::fShellEnv [private] |
Referenced by XrdClientEnv(), ImportStr(), ImportInt(), ShellGet(), ShellGetInt(), and ~XrdClientEnv().
1.7.5