xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdCl
XrdClConstants.hh
Go to the documentation of this file.
1
//------------------------------------------------------------------------------
2
// Copyright (c) 2011-2012 by European Organization for Nuclear Research (CERN)
3
// Author: Lukasz Janyst <ljanyst@cern.ch>
4
//------------------------------------------------------------------------------
5
// XRootD is free software: you can redistribute it and/or modify
6
// it under the terms of the GNU Lesser General Public License as published by
7
// the Free Software Foundation, either version 3 of the License, or
8
// (at your option) any later version.
9
//
10
// XRootD is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
//
15
// You should have received a copy of the GNU Lesser General Public License
16
// along with XRootD. If not, see <http://www.gnu.org/licenses/>.
17
//------------------------------------------------------------------------------
18
19
#ifndef __XRD_CL_CONSTANTS_HH__
20
#define __XRD_CL_CONSTANTS_HH__
21
22
#include <stdint.h>
23
24
namespace
XrdCl
25
{
26
//----------------------------------------------------------------------------
27
// Log message types
28
//----------------------------------------------------------------------------
29
const
uint64_t
AppMsg
= 0x0000000000000001ULL;
30
const
uint64_t
UtilityMsg
= 0x0000000000000002ULL;
31
const
uint64_t
FileMsg
= 0x0000000000000004ULL;
32
const
uint64_t
PollerMsg
= 0x0000000000000008ULL;
33
const
uint64_t
PostMasterMsg
= 0x0000000000000010ULL;
34
const
uint64_t
XRootDTransportMsg
= 0x0000000000000020ULL;
35
const
uint64_t
TaskMgrMsg
= 0x0000000000000040ULL;
36
const
uint64_t
XRootDMsg
= 0x0000000000000080ULL;
37
const
uint64_t
FileSystemMsg
= 0x0000000000000100ULL;
38
const
uint64_t
AsyncSockMsg
= 0x0000000000000200ULL;
39
const
uint64_t
JobMgrMsg
= 0x0000000000000400ULL;
40
41
//----------------------------------------------------------------------------
42
// Environment settings
43
//----------------------------------------------------------------------------
44
const
int
DefaultSubStreamsPerChannel
= 1;
45
const
int
DefaultConnectionWindow
= 120;
46
const
int
DefaultConnectionRetry
= 5;
47
const
int
DefaultRequestTimeout
= 300;
48
const
int
DefaultTimeoutResolution
= 15;
49
const
int
DefaultStreamErrorWindow
= 1800;
50
const
int
DefaultRunForkHandler
= 0;
51
const
int
DefaultRedirectLimit
= 16;
52
const
int
DefaultWorkerThreads
= 3;
53
const
int
DefaultCPChunkSize
= 16777216;
54
const
int
DefaultCPParallelChunks
= 4;
55
56
const
char
*
const
DefaultPollerPreference
=
"built-in,libevent"
;
57
const
char
*
const
DefaultClientMonitor
=
""
;
58
const
char
*
const
DefaultClientMonitorParam
=
""
;
59
}
60
61
#endif // __XRD_CL_CONSTANTS_HH__
Generated by
1.8.3.1