equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-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: Header for timer class used by IKEv1 |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_IKEV1TIMEOUT_H |
|
19 #define C_IKEV1TIMEOUT_H |
|
20 |
|
21 #include <e32base.h> |
|
22 |
|
23 class CIkev1Negotiation; |
|
24 |
|
25 NONSHARABLE_CLASS(CIkev1Timeout) : public CTimer |
|
26 { |
|
27 public: |
|
28 static CIkev1Timeout* NewL(CIkev1Negotiation& aNegotiation); |
|
29 |
|
30 //destructor |
|
31 ~CIkev1Timeout(); |
|
32 |
|
33 void IssueRequest(TTimeIntervalMicroSeconds32 anInterval); |
|
34 protected: |
|
35 |
|
36 //Cancel Packet Sending |
|
37 void RunL(); |
|
38 |
|
39 private: |
|
40 CIkev1Timeout(CIkev1Negotiation& aNegotiation); |
|
41 |
|
42 CIkev1Negotiation& iNegotiation; |
|
43 }; |
|
44 |
|
45 |
|
46 #endif // C_IKEV1TIMEOUT_H |