|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef MEMSPYDRIVERLOGICALCHANCLIENTSERVER_H |
|
19 #define MEMSPYDRIVERLOGICALCHANCLIENTSERVER_H |
|
20 |
|
21 // System includes |
|
22 #include <e32cmn.h> |
|
23 #include <kern_priv.h> |
|
24 |
|
25 // User includes |
|
26 #include "MemSpyDriverLogChanContainerBase.h" |
|
27 |
|
28 // Classes referenced |
|
29 class DMemSpyDriverDevice; |
|
30 class TMemSpyDriverServerSessionInfo; |
|
31 class TMemSpyDriverInternalServerSessionHandleParams; |
|
32 |
|
33 |
|
34 |
|
35 class DMemSpyDriverLogChanClientServer : public DMemSpyDriverLogChanContainerBase |
|
36 { |
|
37 public: |
|
38 DMemSpyDriverLogChanClientServer( DMemSpyDriverDevice& aDevice, DThread& aThread ); |
|
39 ~DMemSpyDriverLogChanClientServer(); |
|
40 |
|
41 public: // From DMemSpyDriverLogChanBase |
|
42 TInt Request( TInt aFunction, TAny* a1, TAny* a2 ); |
|
43 TBool IsHandler( TInt aFunction ) const; |
|
44 |
|
45 private: // Channel operation handlers |
|
46 TInt GetServerSessionHandles( TMemSpyDriverInternalServerSessionHandleParams* aParams ); |
|
47 TInt GetServerSessionInfo( TAny* aSessionHandle, TMemSpyDriverServerSessionInfo* aParams ); |
|
48 |
|
49 private: // Internal methods |
|
50 |
|
51 private: // Data members |
|
52 }; |
|
53 |
|
54 |
|
55 #endif |