equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __MHTTPRESPONSE_H__ |
|
17 #define __MHTTPRESPONSE_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 class RHTTPTransaction; |
|
22 class MHttpResponse |
|
23 { |
|
24 public: |
|
25 |
|
26 virtual void ResponseDataReceived(const TDesC8& aData) = 0; |
|
27 |
|
28 virtual void CancelResponse() =0; |
|
29 |
|
30 virtual void ConnectionError(TInt aError) =0; |
|
31 |
|
32 virtual TBool ResponseCompleted () =0; |
|
33 |
|
34 virtual void OnResponseReceiveTimeOut () =0; |
|
35 |
|
36 virtual TInt ReceiveTimeOutValue () =0; |
|
37 |
|
38 virtual TBool NeedCompletion () =0; |
|
39 |
|
40 virtual TBool CompleteResponse ( const TDesC8& aData ) = 0; |
|
41 |
|
42 virtual void FailTransactionL() = 0; |
|
43 |
|
44 virtual TBool ResponseInformational () =0; |
|
45 |
|
46 }; |
|
47 |
|
48 #endif // __MHTTPRESPONSE_H__ |