blob: 39e38c1d32c92091fbe9ba127c3555df646b0335 (
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
|
// **********************************************************************
//
// 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.
//
// **********************************************************************
namespace IceInternal
{
public sealed class TraceLevels
{
internal TraceLevels(Ice.Properties properties)
{
networkCat = "Network";
protocolCat = "Protocol";
retryCat = "Retry";
locationCat = "Locator";
slicingCat = "Slicing";
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);
}
public readonly int network;
public readonly string networkCat;
public readonly int protocol;
public readonly string protocolCat;
public readonly int retry;
public readonly string retryCat;
public readonly int location;
public readonly string locationCat;
public readonly int slicing;
public readonly string slicingCat;
}
}
|