|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Publish&Subscribe keys used by MCE Tester |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MCETESTERPSKEYS_H |
|
21 #define MCETESTERPSKEYS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 /** |
|
27 * UID for Publish&Subscribe keys used by MCE Tester |
|
28 */ |
|
29 const TUid KUidMceTesterPSKeys = { 0x102010D5 }; |
|
30 |
|
31 /** |
|
32 * Defines resource reservation status returned by |
|
33 * NAT traversal plug-in stub implementing CNSPPlugin. |
|
34 * Parameter value is of type TInt. |
|
35 */ |
|
36 const TUint KMceTesterNatPluginResourceReservationStatus = 1; |
|
37 |
|
38 /** |
|
39 * Defines the asynchronous delay simulated by the |
|
40 * NAT traversal plug-in stub implementing CNSPPlugin. |
|
41 * Parameter value is of type TInt. |
|
42 */ |
|
43 const TUint KMceTesterNatPluginCallbackDelay = 2; |
|
44 |
|
45 /** |
|
46 * Defines the public address of the local endpoint. |
|
47 * Parameter value is of type RProperty::TType::EText and its maximum length is |
|
48 * KPropertyTextValueMaxLength. |
|
49 * Example values: "1.2.3.4:5000", "[1:2:3::4:5]:6000". |
|
50 */ |
|
51 const TUint KMceTesterNatPluginLocalAddress = 3; |
|
52 |
|
53 /** |
|
54 * Defines the public address of the remote endpoint. |
|
55 * Parameter value is of type RProperty::TType::EText and its maximum length is |
|
56 * KPropertyTextValueMaxLength. |
|
57 * Example values: "1.2.3.4:5000", "[1:2:3::4:5]:6000". |
|
58 */ |
|
59 const TUint KMceTesterNatPluginRemoteAddress = 4; |
|
60 |
|
61 /** |
|
62 * Defines the asynchronous delay between AnswerReady and OfferReady callbacks, |
|
63 * simulated by the NAT traversal plug-in stub implementing CNSPPlugin. |
|
64 * This delay is only used after CNSPPlugin::ResolveL has been called. |
|
65 * Parameter value is of type TInt. |
|
66 */ |
|
67 const TUint KMceTesterNatPluginSecondCallbackDelay = 5; |
|
68 |
|
69 /** |
|
70 * Defines the error callback that the NAT traversal plug-in stub will call. |
|
71 * Parameter value is of type RProperty::TType::EText and its maximum length is |
|
72 * KPropertyTextValueMaxLength. |
|
73 * |
|
74 * Value begins with error type, either "icmp" or "error", followed by a space |
|
75 * and the error code as a number. |
|
76 * Error type "icmp" indicates an ICMP error, and "error" other error. |
|
77 * Example values: "icmp -7206", "error 28". |
|
78 */ |
|
79 const TUint KMceTesterNatPluginErrorCallback = 6; |
|
80 |
|
81 |
|
82 const TInt KPropertyTextValueMaxLength = 60; |
|
83 |
|
84 |
|
85 #endif // MCETESTERPSKEYS_H |
|
86 |
|
87 // End of File |