1 /* |
|
2 * Copyright (c) 2006-2007 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IRSTREAMSOURCEERRORS_H |
|
20 #define IRSTREAMSOURCEERRORS_H |
|
21 |
|
22 #include <e32def.h> |
|
23 |
|
24 /** |
|
25 * Base error code for Stream source component |
|
26 */ |
|
27 |
|
28 const TInt KIRStreamSourceErrorBase = { 0xA1234B }; |
|
29 |
|
30 /** |
|
31 * Error to indicate time out has occurred |
|
32 */ |
|
33 |
|
34 const TInt KIRStreamSourceTimeOut = { KIRStreamSourceErrorBase + 0x00000000 }; |
|
35 |
|
36 /** |
|
37 * Error code for DNS lookup error |
|
38 */ |
|
39 |
|
40 const TInt KIRStreamSourceLookupError = { KIRStreamSourceErrorBase + 0x00000001 }; |
|
41 |
|
42 /** |
|
43 * Error code for connecting to channel server |
|
44 */ |
|
45 |
|
46 const TInt KIRStreamSourceConnectionError = { KIRStreamSourceErrorBase + 0x00000002 }; |
|
47 |
|
48 /** |
|
49 * Error code for socket write error |
|
50 */ |
|
51 |
|
52 const TInt KIRStreamSourceWriteError = { KIRStreamSourceErrorBase + 0x00000003 }; |
|
53 |
|
54 /** |
|
55 * Error code for socket read error |
|
56 */ |
|
57 const TInt KIRStreamSourceReadError = { KIRStreamSourceErrorBase + 0x00000004 }; |
|
58 |
|
59 /** |
|
60 * Error code for no response from channel server |
|
61 */ |
|
62 |
|
63 const TInt KIRStreamSourceNoResponse = { KIRStreamSourceErrorBase + 0x00000005 }; |
|
64 |
|
65 /** |
|
66 * Error code for invalid url |
|
67 */ |
|
68 const TInt KIRStreamSourceInvalidUrl = { KIRStreamSourceErrorBase + 0x00000006 }; |
|
69 |
|
70 /** |
|
71 * Error code for disconnected connection |
|
72 */ |
|
73 const TInt KIRStreamSourceDisconnected = { KIRStreamSourceErrorBase + 0x00000007 }; |
|
74 |
|
75 /** |
|
76 * Error code for application layer protocol errors. |
|
77 */ |
|
78 const TInt KIRStreamSourceApplicationProtocolError = { KIRStreamSourceErrorBase + 0x00000008 }; |
|
79 |
|
80 #endif // IRSTREAMSOURCEERRORS_H |
|
81 |
|