equal
deleted
inserted
replaced
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 |
16 /** |
17 |
17 @file |
18 /** |
|
19 @file THTTPEvent.h |
|
20 @warning : This file contains Rose Model ID comments - please do not delete |
18 @warning : This file contains Rose Model ID comments - please do not delete |
21 */ |
19 */ |
22 |
20 |
23 #ifndef __THTTPEVENT_H__ |
21 #ifndef __THTTPEVENT_H__ |
24 #define __THTTPEVENT_H__ |
22 #define __THTTPEVENT_H__ |
200 EReceived100Continue = KTransactionEventBaseStatus + 16, |
198 EReceived100Continue = KTransactionEventBaseStatus + 16, |
201 |
199 |
202 /**An event to cancel the wait for a 100-Continue event. |
200 /**An event to cancel the wait for a 100-Continue event. |
203 */ |
201 */ |
204 ECancelWaitFor100Continue = KTransactionEventBaseStatus + 17, |
202 ECancelWaitFor100Continue = KTransactionEventBaseStatus + 17, |
205 |
203 |
206 /**An event of Send Timeout for a Request. |
204 /**An event of Send Timeout for a Request. |
207 */ |
205 */ |
208 ESendTimeOut = KTransactionEventBaseStatus + 18, |
206 ESendTimeOut = KTransactionEventBaseStatus + 18, |
209 |
207 |
210 /**An event of Receive Timeout for a Response. |
208 /**An event of Receive Timeout for a Response. |
211 */ |
209 */ |
212 EReceiveTimeOut = KTransactionEventBaseStatus + 19 |
210 EReceiveTimeOut = KTransactionEventBaseStatus + 19, |
|
211 |
|
212 /**An event that indicate that transaction Suspended. |
|
213 */ |
|
214 ESuspend = KTransactionEventBaseStatus +20, |
|
215 |
|
216 /**An event that indicate that transaction Resume. |
|
217 */ |
|
218 EResume = KTransactionEventBaseStatus +21 |
213 |
219 |
214 }; |
220 }; |
215 |
221 |
216 /** The TDirection type defines the direction of an event. An outgoing event |
222 /** The TDirection type defines the direction of an event. An outgoing event |
217 originates from the client or from filters. The clients do not send these |
223 originates from the client or from filters. The clients do not send these |
469 @param aStatus The session event. |
475 @param aStatus The session event. |
470 */ |
476 */ |
471 //##ModelId=3C4C187402F9 |
477 //##ModelId=3C4C187402F9 |
472 inline THTTPSessionEvent& operator=(TSessionEvent aStatus); |
478 inline THTTPSessionEvent& operator=(TSessionEvent aStatus); |
473 |
479 |
474 /// Equality operator (compares with a session event) |
480 // Equality operator (compares with a session event) |
475 //##ModelId=3C4C187402E6 |
481 //##ModelId=3C4C187402E6 |
476 inline TBool operator==(TSessionEvent aStatus) const; |
482 inline TBool operator==(TSessionEvent aStatus) const; |
477 |
483 |
478 /// Inequality operator (compares with a session event) |
484 // Inequality operator (compares with a session event) |
479 //##ModelId=3C4C187402D2 |
485 //##ModelId=3C4C187402D2 |
480 inline TBool operator!=(TSessionEvent aStatus) const; |
486 inline TBool operator!=(TSessionEvent aStatus) const; |
481 }; |
487 }; |
482 |
488 |
483 #include <http/thttpevent.inl> |
489 #include <http/thttpevent.inl> |