equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-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 * Name : CSipSecSaDbMsgReceiver.h |
|
16 * Part of : SIPSec |
|
17 * Version : SIP/4.0 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @internalComponent |
|
26 */ |
|
27 |
|
28 |
|
29 #ifndef CSIPSECSADBMSGRECEIVER_H |
|
30 #define CSIPSECSADBMSGRECEIVER_H |
|
31 |
|
32 #include "CSipSecSaDbMsgTransport.h" |
|
33 |
|
34 /** |
|
35 * @brief SADB message receiving mechanism |
|
36 * |
|
37 * |
|
38 */ |
|
39 |
|
40 class CSipSecSaDbMsgReceiver : public CSipSecSaDbMsgTransport |
|
41 { |
|
42 |
|
43 public: |
|
44 |
|
45 static CSipSecSaDbMsgReceiver* NewL( |
|
46 MSipSecSaDbSendReceiveObserver& aObserver, |
|
47 RSADB& aSadb ); |
|
48 |
|
49 static CSipSecSaDbMsgReceiver* NewLC( |
|
50 MSipSecSaDbSendReceiveObserver& aObserver, |
|
51 RSADB& aSadb ); |
|
52 |
|
53 ~CSipSecSaDbMsgReceiver(); |
|
54 |
|
55 void Receive( TDes8& aMsg ); |
|
56 |
|
57 protected: |
|
58 |
|
59 void RunL(); |
|
60 |
|
61 void DoCancel(); |
|
62 |
|
63 private: |
|
64 |
|
65 CSipSecSaDbMsgReceiver( |
|
66 MSipSecSaDbSendReceiveObserver& aObserver, |
|
67 RSADB& aSadb ); |
|
68 |
|
69 |
|
70 #ifdef CPPUNIT_TEST |
|
71 friend class CActiveObjController1; |
|
72 #endif |
|
73 |
|
74 }; |
|
75 |
|
76 |
|
77 |
|
78 #endif // CSIPSECSADBMSGRECEIVER_H |
|
79 |
|
80 |
|
81 // End of File |