|
1 /* |
|
2 * Copyright (c) 2002-2004 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 |
|
20 #ifndef LEAVEDOMAINREQ_H |
|
21 #define LEAVEDOMAINREQ_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <hash.h> |
|
25 #include "RoapMessage.h" |
|
26 |
|
27 namespace Roap |
|
28 { |
|
29 |
|
30 // CONSTANTS |
|
31 //const ?type ?constant_var = ?constant; |
|
32 |
|
33 // MACROS |
|
34 //#define ?macro ?macro_def |
|
35 |
|
36 // DATA TYPES |
|
37 //enum ?declaration |
|
38 //typedef ?declaration |
|
39 //extern ?data_type; |
|
40 |
|
41 // FUNCTION PROTOTYPES |
|
42 //?type ?function_name(?arg_list); |
|
43 |
|
44 // FORWARD DECLARATIONS |
|
45 //class ?FORWARD_CLASSNAME; |
|
46 |
|
47 // CLASS DECLARATION |
|
48 |
|
49 /** |
|
50 * ?one_line_short_description. |
|
51 * ?other_description_lines |
|
52 * |
|
53 * @lib ?library |
|
54 * @since Series ?XX ?SeriesXX_version |
|
55 */ |
|
56 class CLeaveDomainReq : public CRoapMessage |
|
57 { |
|
58 public: // Constructors and destructor |
|
59 |
|
60 /** |
|
61 * Two-phased constructor. |
|
62 */ |
|
63 static CLeaveDomainReq* NewL(); |
|
64 |
|
65 /** |
|
66 * Destructor. |
|
67 */ |
|
68 virtual ~CLeaveDomainReq(); |
|
69 |
|
70 public: // New functions |
|
71 |
|
72 /** |
|
73 * ?member_description. |
|
74 * @since Series ?XX ?SeriesXX_version |
|
75 * @param ?arg1 ?description |
|
76 * @return ?description |
|
77 */ |
|
78 //?type ?member_function( ?type ?arg1 ); |
|
79 |
|
80 public: // Functions from base classes |
|
81 |
|
82 /** |
|
83 * From ?base_class ?member_description. |
|
84 * @since Series ?XX ?SeriesXX_version |
|
85 * @param ?arg1 ?description |
|
86 * @return ?description |
|
87 */ |
|
88 virtual HBufC8* MessageAsXmlL(void); |
|
89 |
|
90 protected: // New functions |
|
91 |
|
92 /** |
|
93 * ?member_description. |
|
94 * @since Series ?XX ?SeriesXX_version |
|
95 * @param ?arg1 ?description |
|
96 * @return ?description |
|
97 */ |
|
98 //?type ?member_function( ?type ?arg1 ); |
|
99 |
|
100 protected: // Functions from base classes |
|
101 |
|
102 /** |
|
103 * From ?base_class ?member_description |
|
104 */ |
|
105 //?type ?member_function(); |
|
106 |
|
107 private: |
|
108 |
|
109 /** |
|
110 * C++ default constructor. |
|
111 */ |
|
112 CLeaveDomainReq(); |
|
113 |
|
114 /** |
|
115 * By default Symbian 2nd phase constructor is private. |
|
116 */ |
|
117 void ConstructL(); |
|
118 |
|
119 // Prohibit copy constructor if not deriving from CBase. |
|
120 // CLeaveDomainReq( const CLeaveDomainReq& ); |
|
121 // Prohibit assigment operator if not deriving from CBase. |
|
122 // CLeaveDomainReq& operator=( const CLeaveDomainReq& ); |
|
123 |
|
124 public: // Data |
|
125 // ?one_line_short_description_of_data |
|
126 TBuf8<SHA1_HASH> iDeviceId; |
|
127 TBuf8<SHA1_HASH> iRiId; |
|
128 HBufC8* iDomainId; |
|
129 TBuf8<KDeviceNonceLength> iNonce; |
|
130 TTime iTime; |
|
131 RPointerArray<HBufC8> iCertificateChain; |
|
132 HBufC8* iSignature; |
|
133 TBool iNotMember; |
|
134 // Optional nonce from the trigger |
|
135 HBufC8* iTriggerNonce; |
|
136 |
|
137 protected: // Data |
|
138 // ?one_line_short_description_of_data |
|
139 //?data_declaration; |
|
140 |
|
141 private: // Data |
|
142 // ?one_line_short_description_of_data |
|
143 //?data_declaration; |
|
144 |
|
145 // Reserved pointer for future extension |
|
146 //TAny* iReserved; |
|
147 |
|
148 public: // Friend classes |
|
149 //?friend_class_declaration; |
|
150 protected: // Friend classes |
|
151 //?friend_class_declaration; |
|
152 private: // Friend classes |
|
153 //?friend_class_declaration; |
|
154 |
|
155 }; |
|
156 } |
|
157 |
|
158 #endif // LEAVEDOMAINREQ_H |
|
159 |
|
160 // End of File |