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
22
class
NET_API
NET_NetworkConfiguration
23
{
24
public
:
25
NET_NetworkConfiguration
();
26
27
// Global configuration. Create separate config objects if you need more
28
// control.
29
static
NET_NetworkConfiguration
theGlobalConfig
;
30
31
UT_StringHolder
myCaPath
;
32
UT_StringHolder
myCaInfo
;
33
UT_StringHolder
myUserAgent
;
34
int
myLowTransferLimit
;
35
int
myLowTransferTime
;
36
int
myOverallTimeout
;
37
int
myConnectTimeout
;
38
bool
myFollowRedirects
;
39
};
40
41
#endif // __NET_NETWORKCONFIGURATION_H__
42
NET_NetworkConfiguration::myCaPath
UT_StringHolder myCaPath
Definition:
NET_NetworkConfiguration.h:31
NET_NetworkConfiguration::theGlobalConfig
static NET_NetworkConfiguration theGlobalConfig
Definition:
NET_NetworkConfiguration.h:29
NET_NetworkConfiguration::myLowTransferTime
int myLowTransferTime
Definition:
NET_NetworkConfiguration.h:35
NET_API
#define NET_API
Definition:
NET_API.h:9
UT_StringHolder
Definition:
UT_StringHolder.h:999
NET_API.h
NET_NetworkConfiguration::myFollowRedirects
bool myFollowRedirects
Definition:
NET_NetworkConfiguration.h:38
NET_NetworkConfiguration::myLowTransferLimit
int myLowTransferLimit
Definition:
NET_NetworkConfiguration.h:34
NET_NetworkConfiguration::myUserAgent
UT_StringHolder myUserAgent
Definition:
NET_NetworkConfiguration.h:33
UT_StringHolder.h
NET_NetworkConfiguration::myCaInfo
UT_StringHolder myCaInfo
Definition:
NET_NetworkConfiguration.h:32
NET_NetworkConfiguration::myOverallTimeout
int myOverallTimeout
Definition:
NET_NetworkConfiguration.h:36
NET_NetworkConfiguration
Definition:
NET_NetworkConfiguration.h:22
NET_NetworkConfiguration::myConnectTimeout
int myConnectTimeout
Definition:
NET_NetworkConfiguration.h:37
NET
NET_NetworkConfiguration.h
Generated on Tue Dec 17 2024 03:40:00 for HDK by
1.8.6