|
1 /* |
|
2 * Copyright (c) 2006 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: SIMPLE factory |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef SIMPLEERRORS_H |
|
22 #define SIMPLEERRORS_H |
|
23 |
|
24 // Simple Engine error codes. |
|
25 |
|
26 /** |
|
27 * Subscribe requets is accepted by server but pending |
|
28 */ |
|
29 const TInt KSimpleErrPending = -35000; |
|
30 |
|
31 /** |
|
32 * The subscription has been terminated. |
|
33 * Application SHOULD re-subscribe later. |
|
34 */ |
|
35 const TInt KSimpleErrDeactivated = -35001; |
|
36 |
|
37 /** |
|
38 * The subscription has been terminated. |
|
39 * Application SHOULD re-subscribe later. |
|
40 */ |
|
41 const TInt KSimpleErrProbation = -35002; |
|
42 |
|
43 /** |
|
44 * The subscription has been terminated due to change in |
|
45 * authorization policy. |
|
46 * Application SHOULD NOT attempt to re-subscribe. |
|
47 */ |
|
48 const TInt KSimpleErrRejected = -35003; |
|
49 |
|
50 /** |
|
51 * The subscription has been terminated because it was not |
|
52 * refreshed before it expired. Application MAY re-subscribe |
|
53 * later. |
|
54 */ |
|
55 const TInt KSimpleErrTimeout = -35004; |
|
56 |
|
57 /** |
|
58 * The subscription has been terminated because the notifier |
|
59 * could not obtain authorization in a timely fashion. |
|
60 * Application MAY re-subscribe later. |
|
61 */ |
|
62 const TInt KSimpleErrGiveup = -35005; |
|
63 |
|
64 /** |
|
65 * The subscription has been terminated because the resource |
|
66 * state which was being monitored no longer exists. |
|
67 * Application SHOULD NOT attempt to re-subscribe. |
|
68 */ |
|
69 const TInt KSimpleErrNoresource = -35006; |
|
70 |
|
71 /** |
|
72 * The operation has exceeded SIMPLE Presence Settings limit, |
|
73 * e.g. CLIENT-OBJ-DATA-LIMIT or SOURCE-THROTLLE-PUBLISH. |
|
74 */ |
|
75 const TInt KSimpleErrSettingsLimit = -35007; |
|
76 |
|
77 /** |
|
78 * The operation has received SIP error that indicates a |
|
79 * temporary problem and the application MAY retry |
|
80 * the same request later on. |
|
81 */ |
|
82 const TInt KSimpleErrTemporary = -35008; |
|
83 |
|
84 /** |
|
85 * The operation has received SIP error that indicates a |
|
86 * permanent problem and the application SHOULD NOT retry |
|
87 * the same request later on. |
|
88 */ |
|
89 const TInt KSimpleErrPermanent = -35009; |
|
90 |
|
91 /** |
|
92 * The operation has received SIP error that indicates an |
|
93 * authorization or authentication problem. |
|
94 */ |
|
95 const TInt KSimpleErrAuthorization = -35010; |
|
96 |
|
97 /** |
|
98 * The operation has received SIP error that indicates |
|
99 * that the user does not exist at the domain specified |
|
100 * in the Request-URI. This is SIP error 404. |
|
101 */ |
|
102 const TInt KSimpleErrNotFound = -35011; |
|
103 |
|
104 |
|
105 #endif |
|
106 |