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
const
uint64_t
PlugInMgrMsg
= 0x0000000000000800ULL;
41
42
//----------------------------------------------------------------------------
43
// Environment settings
44
//----------------------------------------------------------------------------
45
const
int
DefaultSubStreamsPerChannel
= 1;
46
const
int
DefaultConnectionWindow
= 120;
47
const
int
DefaultConnectionRetry
= 5;
48
const
int
DefaultRequestTimeout
= 1800;
49
const
int
DefaultStreamTimeout
= 60;
50
const
int
DefaultTimeoutResolution
= 15;
51
const
int
DefaultStreamErrorWindow
= 1800;
52
const
int
DefaultRunForkHandler
= 0;
53
const
int
DefaultRedirectLimit
= 16;
54
const
int
DefaultWorkerThreads
= 3;
55
const
int
DefaultCPChunkSize
= 16777216;
56
const
int
DefaultCPParallelChunks
= 4;
57
const
int
DefaultDataServerTTL
= 300;
58
const
int
DefaultLoadBalancerTTL
= 1200;
59
const
int
DefaultCPInitTimeout
= 600;
60
const
int
DefaultCPTPCTimeout
= 1800;
61
const
int
DefaultTCPKeepAlive
= 0;
62
const
int
DefaultTCPKeepAliveTime
= 7200;
63
const
int
DefaultTCPKeepAliveInterval
= 75;
64
const
int
DefaultTCPKeepAliveProbes
= 9;
65
const
int
DefaultMultiProtocol
= 0;
66
67
const
char
*
const
DefaultPollerPreference
=
"built-in,libevent"
;
68
const
char
*
const
DefaultNetworkStack
=
"IPAuto"
;
69
const
char
*
const
DefaultClientMonitor
=
""
;
70
const
char
*
const
DefaultClientMonitorParam
=
""
;
71
const
char
*
const
DefaultPlugInConfDir
=
""
;
72
const
char
*
const
DefaultPlugIn
=
""
;
73
}
74
75
#endif // __XRD_CL_CONSTANTS_HH__
Generated by
1.8.3.1