blob: 3e4ab9d8a4ba7e74b73a9463bd8eccaa02b277f5 (
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
|
// **********************************************************************
//
// Copyright (c) 2003-2009 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";
locationCat = "Locator";
slicingCat = "Slicing";
final String keyBase = "Ice.Trace.";
network = properties.getPropertyAsInt(keyBase + networkCat);
protocol = properties.getPropertyAsInt(keyBase + protocolCat);
retry = properties.getPropertyAsInt(keyBase + retryCat);
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 location;
final public String locationCat;
final public int slicing;
final public String slicingCat;
}
|