44
|
1 |
/**
|
|
2 |
* Copyright (c) 2002-2009 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:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
/**
|
|
21 |
@file WapStackSuiteDefs.h
|
|
22 |
*/
|
|
23 |
|
|
24 |
#include <es_wsms.h>
|
|
25 |
#include <wapmsgerr.h>
|
|
26 |
|
|
27 |
// Although Publish and Subscribe replaces System Agent,
|
|
28 |
// the UIDs we need are still defined by System Agent
|
|
29 |
#include <sacls.h>
|
|
30 |
|
|
31 |
_LIT(KWapCommonSec, "COMMON");
|
|
32 |
|
|
33 |
_LIT(KWapBearer,"Bearer");
|
|
34 |
_LIT(KWapRemoteHost,"Remote_Host");
|
|
35 |
_LIT(KWapRemotePort,"Remote_Port");
|
|
36 |
_LIT(KWapLocalHost,"Local_Host");
|
|
37 |
_LIT(KWapLocalPort,"Local_Port");
|
|
38 |
_LIT(KLocalPort,"LocalPort");
|
|
39 |
_LIT(KRemotePort,"RemotePort");
|
|
40 |
_LIT(KWapExError, "ExError");
|
|
41 |
_LIT(KWapExError2, "ExError2");
|
|
42 |
_LIT(KWapReconnect, "Reconnect");
|
|
43 |
_LIT(KWapSecure, "Secure");
|
|
44 |
_LIT(KWapRepeat, "Repeat");
|
|
45 |
_LIT(KWapData, "Data");
|
|
46 |
_LIT(KWapDataType, "Type");
|
|
47 |
_LIT(KWapUseSIMTSY, "SimTsy");
|
|
48 |
_LIT(KWapDetailedLogging, "DetailedLogging");
|
|
49 |
_LIT(KWapDelayPortClosure, "DelayPortClosure");
|
|
50 |
_LIT(KWapSIMTSYState, "TsyState");
|
|
51 |
_LIT(KWapTimeOut, "TimeOut");
|
|
52 |
_LIT(KWapWdpBufLength, "WDPBufLength");
|
|
53 |
_LIT(KAwaitLengthCancel, "AwaitLengthCancel");
|
|
54 |
_LIT(KMiddleCancel, "MiddleCancel");
|
|
55 |
_LIT(KMultiReadCancel, "MultiReadCancel");
|
|
56 |
_LIT(KAwaitLengthTwice, "AwaitLengthTwice");
|
|
57 |
// WSP
|
|
58 |
_LIT(KWapWSPMethod, "WSPMethod");
|
|
59 |
_LIT(KWapWSPHeaders, "WSPHeaders");
|
|
60 |
_LIT(KWapWSPBody, "WSPBody");
|
|
61 |
_LIT(KWapURI, "WSPURI");
|
|
62 |
_LIT(KWapWSPRecvHeaderLength, "WSPHeaderLength");
|
|
63 |
_LIT(KWapWSPRecvBodyLength, "WSPBodyLength");
|
|
64 |
|
|
65 |
_LIT(KWapWDPStackSuiteLogFile,"WapWDPLog");
|
|
66 |
_LIT(KWapPushStackSuiteLogFile,"WapPushLog");
|
|
67 |
_LIT(KWapWSPStackSuiteLogFile,"WapWSPLog");
|
|
68 |
|
|
69 |
|
|
70 |
_LIT(KWapStartC32,"StartC32");
|
|
71 |
|
|
72 |
// For test step panics
|
|
73 |
_LIT(KWapStackSuitePanic,"WapStackSuite");
|
|
74 |
enum TWapSuitePanicCodes{EDataCorrupt = 1};
|
|
75 |
|
|
76 |
// Port for the echo server
|
|
77 |
// Could be read from the ini file
|
|
78 |
const TInt KEchoPort = 7;
|
|
79 |
|
|
80 |
//////////////////////////////////////////////////////////////////////////////
|
|
81 |
// Wap Address / Port Settings
|
|
82 |
//////////////////////////////////////////////////////////////////////////////
|
|
83 |
/*
|
|
84 |
EWapPortUnspecified = -1, // Unspecified
|
|
85 |
EWapPortWsp = 9200, // Connectionless session protocol
|
|
86 |
EWapPortWspWtp = 9201, // Connection oriented session protocol
|
|
87 |
EWapPortWspWtls = 9202, // Secure connectionless session protocol
|
|
88 |
EWapPortWspWtpWtls = 9203, // Secure connection oriented session protocol
|
|
89 |
EWapPortVCard = 9204, // vCard
|
|
90 |
EWapPortVCardWtls = 9206, // Secure vCard
|
|
91 |
EWapPortVCal = 9205, // vCal
|
|
92 |
EWapPortVCalWtls = 9207 // Secure vCal
|
|
93 |
};
|
|
94 |
*/
|
|
95 |
|
|
96 |
|