equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: CRedirectServer session |
|
15 |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef JAVAREDIRECTSESSION_H |
|
20 #define JAVAREDIRECTSESSION_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include "javaosheaders.h" |
|
24 |
|
25 namespace java |
|
26 { |
|
27 namespace debug |
|
28 { |
|
29 class DiagnosticListener; |
|
30 } |
|
31 using java::debug::DiagnosticListener; |
|
32 |
|
33 namespace util |
|
34 { |
|
35 |
|
36 OS_NONSHARABLE_CLASS(CRedirectSession): public CSession2 |
|
37 { |
|
38 public: |
|
39 CRedirectSession(DiagnosticListener& aListener); |
|
40 virtual ~CRedirectSession(); |
|
41 |
|
42 virtual void ServiceL(const RMessage2& aMessage); |
|
43 private: |
|
44 void handleMessageL(const RMessage2& aMessage); |
|
45 void dispatchToListener(TInt aType, const TDesC8& aData); |
|
46 |
|
47 DiagnosticListener& mListener; |
|
48 }; |
|
49 |
|
50 } // namespace util |
|
51 } // namespace java |
|
52 |
|
53 #endif // JAVAREDIRECTSESSION_H |