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 
00041   //----------------------------------------------------------------------------
00042   // Environment settings
00043   //----------------------------------------------------------------------------
00044   const int DefaultSubStreamsPerChannel = 1;
00045   const int DefaultConnectionWindow     = 120;
00046   const int DefaultConnectionRetry      = 5;
00047   const int DefaultRequestTimeout       = 300;
00048   const int DefaultTimeoutResolution    = 15;
00049   const int DefaultStreamErrorWindow    = 1800;
00050   const int DefaultRunForkHandler       = 0;
00051   const int DefaultRedirectLimit        = 16;
00052   const int DefaultWorkerThreads        = 3;
00053   const int DefaultCPChunkSize          = 16777216;
00054   const int DefaultCPParallelChunks     = 4;
00055 
00056   const char * const DefaultPollerPreference   = "built-in,libevent";
00057   const char * const DefaultClientMonitor      = "";
00058   const char * const DefaultClientMonitorParam = "";
00059 }
00060 
00061 #endif // __XRD_CL_CONSTANTS_HH__

Generated on 27 Jul 2013 for xrootd by  doxygen 1.4.7