HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
NET_NetworkConfiguration.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: NET_NetworkConfiguration.h
7
*
8
* COMMENTS:
9
*
10
*/
11
12
#ifndef __NET_NETWORKCONFIGURATION_H__
13
#define __NET_NETWORKCONFIGURATION_H__
14
15
#include "
NET_API.h
"
16
17
#include <
UT/UT_StringHolder.h
>
18
19
#define NET_NETCONFIG_MIN_TIMEOUT 300000 // 5min
20
#define NET_NETCONFIG_MIN_CON_TIMEOUT 30000 // 30s
21
#define NET_NETCONFIG_DEFAULT_MAX_RETRIES 2
22
23
class
NET_API
NET_NetworkConfiguration
24
{
25
public
:
26
NET_NetworkConfiguration
();
27
28
// Global configuration. Create separate config objects if you need more
29
// control.
30
static
NET_NetworkConfiguration
theGlobalConfig
;
31
32
UT_StringHolder
myCaPath
;
33
UT_StringHolder
myCaInfo
;
34
UT_StringHolder
myUserAgent
;
35
int
myLowTransferLimit
;
36
int
myLowTransferTime
;
37
int
myOverallTimeout
;
38
int
myConnectTimeout
;
39
// Max retries for the default http/https mount (see
40
// LM_Manager::lmInitializeNetworkManager). Does not affect the hserver
41
// mount, which manages its own retry policy.
42
int
myMaxHttpRetries
;
43
bool
myFollowRedirects
;
44
};
45
46
#endif // __NET_NETWORKCONFIGURATION_H__
47
NET_NetworkConfiguration::myCaPath
UT_StringHolder myCaPath
Definition:
NET_NetworkConfiguration.h:32
NET_NetworkConfiguration::myMaxHttpRetries
int myMaxHttpRetries
Definition:
NET_NetworkConfiguration.h:42
NET_NetworkConfiguration::theGlobalConfig
static NET_NetworkConfiguration theGlobalConfig
Definition:
NET_NetworkConfiguration.h:30
NET_NetworkConfiguration::myLowTransferTime
int myLowTransferTime
Definition:
NET_NetworkConfiguration.h:36
NET_API
#define NET_API
Definition:
NET_API.h:9
UT_StringHolder
Definition:
UT_StringHolder.h:1074
NET_API.h
NET_NetworkConfiguration::myFollowRedirects
bool myFollowRedirects
Definition:
NET_NetworkConfiguration.h:43
NET_NetworkConfiguration::myLowTransferLimit
int myLowTransferLimit
Definition:
NET_NetworkConfiguration.h:35
NET_NetworkConfiguration::myUserAgent
UT_StringHolder myUserAgent
Definition:
NET_NetworkConfiguration.h:34
UT_StringHolder.h
NET_NetworkConfiguration::myCaInfo
UT_StringHolder myCaInfo
Definition:
NET_NetworkConfiguration.h:33
NET_NetworkConfiguration::myOverallTimeout
int myOverallTimeout
Definition:
NET_NetworkConfiguration.h:37
NET_NetworkConfiguration
Definition:
NET_NetworkConfiguration.h:23
NET_NetworkConfiguration::myConnectTimeout
int myConnectTimeout
Definition:
NET_NetworkConfiguration.h:38
NET
NET_NetworkConfiguration.h
Generated on Thu Jul 30 2026 02:20:51 for HDK by
1.8.6