XrdClConstants.hh

Go to the documentation of this file.
00001 //------------------------------------------------------------------------------
00002 // Copyright (c) 2011-2012 by European Organization for Nuclear Research (CERN)
00003 // Author: Lukasz Janyst <ljanyst@cern.ch>
00004 //------------------------------------------------------------------------------
00005 // XRootD is free software: you can redistribute it and/or modify
00006 // it under the terms of the GNU Lesser General Public License as published by
00007 // the Free Software Foundation, either version 3 of the License, or
00008 // (at your option) any later version.
00009 //
00010 // XRootD is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU Lesser General Public License
00016 // along with XRootD.  If not, see <http://www.gnu.org/licenses/>.
00017 //------------------------------------------------------------------------------
00018 
00019 #ifndef __XRD_CL_CONSTANTS_HH__
00020 #define __XRD_CL_CONSTANTS_HH__
00021 
00022 #include <stdint.h>
00023 
00024 namespace XrdCl
00025 {
00026   //----------------------------------------------------------------------------
00027   // Log message types
00028   //----------------------------------------------------------------------------
00029   const uint64_t AppMsg             = 0x0000000000000001ULL;
00030   const uint64_t UtilityMsg         = 0x0000000000000002ULL;
00031   const uint64_t FileMsg            = 0x0000000000000004ULL;
00032   const uint64_t PollerMsg          = 0x0000000000000008ULL;
00033   const uint64_t PostMasterMsg      = 0x0000000000000010ULL;
00034   const uint64_t XRootDTransportMsg = 0x0000000000000020ULL;
00035   const uint64_t TaskMgrMsg         = 0x0000000000000040ULL;
00036   const uint64_t XRootDMsg          = 0x0000000000000080ULL;
00037   const uint64_t FileSystemMsg      = 0x0000000000000100ULL;
00038   const uint64_t AsyncSockMsg       = 0x0000000000000200ULL;
00039   const uint64_t JobMgrMsg          = 0x0000000000000400ULL;
00040   const uint64_t PlugInMgrMsg       = 0x0000000000000800ULL;
00041 
00042   //----------------------------------------------------------------------------
00043   // Environment settings
00044   //----------------------------------------------------------------------------
00045   const int DefaultSubStreamsPerChannel = 1;
00046   const int DefaultConnectionWindow     = 120;
00047   const int DefaultConnectionRetry      = 5;
00048   const int DefaultRequestTimeout       = 1800;
00049   const int DefaultStreamTimeout        = 60;
00050   const int DefaultTimeoutResolution    = 15;
00051   const int DefaultStreamErrorWindow    = 1800;
00052   const int DefaultRunForkHandler       = 0;
00053   const int DefaultRedirectLimit        = 16;
00054   const int DefaultWorkerThreads        = 3;
00055   const int DefaultCPChunkSize          = 16777216;
00056   const int DefaultCPParallelChunks     = 4;
00057   const int DefaultDataServerTTL        = 300;
00058   const int DefaultLoadBalancerTTL      = 1200;
00059   const int DefaultCPInitTimeout        = 600;
00060   const int DefaultCPTPCTimeout         = 1800;
00061   const int DefaultTCPKeepAlive         = 0;
00062   const int DefaultTCPKeepAliveTime     = 7200;
00063   const int DefaultTCPKeepAliveInterval = 75;
00064   const int DefaultTCPKeepAliveProbes   = 9;
00065   const int DefaultMultiProtocol        = 0;
00066   const int DefaultParallelEvtLoop      = 1;
00067   const int DefaultMetalinkProcessing   = 1;
00068   const int DefaultLocalMetalinkFile    = 1;
00069 
00070   const char * const DefaultPollerPreference   = "built-in";
00071   const char * const DefaultNetworkStack       = "IPAuto";
00072   const char * const DefaultClientMonitor      = "";
00073   const char * const DefaultClientMonitorParam = "";
00074   const char * const DefaultPlugInConfDir      = "";
00075   const char * const DefaultPlugIn             = "";
00076   const char * const DefaultReadRecovery       = "true";
00077   const char * const DefaultWriteRecovery      = "true";
00078   const char * const DefaultGlfnRedirector     = "";
00079 }
00080 
00081 #endif // __XRD_CL_CONSTANTS_HH__

Generated on 13 Mar 2017 for xrootd by  doxygen 1.4.7