blob: 280c35be3dcffd85e3a1fb379678ed6de2353b4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// **********************************************************************
//
// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
package IceInternal;
public final class TraceLevels
{
TraceLevels(Ice.Properties properties)
{
networkCat = "Network";
protocolCat = "Protocol";
retryCat = "Retry";
securityCat = "Security";
locationCat = "Location";
slicingCat = "Slicing";
final String keyBase = "Ice.Trace.";
network = properties.getPropertyAsInt(keyBase + networkCat);
protocol = properties.getPropertyAsInt(keyBase + protocolCat);
retry = properties.getPropertyAsInt(keyBase + retryCat);
security = properties.getPropertyAsInt(keyBase + securityCat);
location = properties.getPropertyAsInt(keyBase + locationCat);
slicing = properties.getPropertyAsInt(keyBase + slicingCat);
}
final public int network;
final public String networkCat;
final public int protocol;
final public String protocolCat;
final public int retry;
final public String retryCat;
final public int security;
final public String securityCat;
final public int location;
final public String locationCat;
final public int slicing;
final public String slicingCat;
}
|