|
1 /* |
|
2 * Copyright (c) 2005-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 : NormalUAS.h |
|
16 * Part of : TransactionUser |
|
17 * Version : SIP/4.0 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @internalComponent |
|
26 */ |
|
27 |
|
28 #ifndef NORMALUAS_H |
|
29 #define NORMALUAS_H |
|
30 |
|
31 // INCLUDES |
|
32 #include "UserAgentServer.h" |
|
33 |
|
34 // FORWARD DECLARATIONS |
|
35 |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 class CNormalUAS : public CUserAgentServer |
|
40 { |
|
41 public: // Constructor and destructor |
|
42 static CNormalUAS* NewL(CUserAgentCreateParams& aParams, |
|
43 MSipConnectionMgr& aConnectionMgr, |
|
44 MSIPRequestRouter& aRouter, |
|
45 MSipDialogs& aDialogs); |
|
46 |
|
47 ~CNormalUAS(); |
|
48 |
|
49 public: // From CUserAgent |
|
50 void DeleteTimer(const CUserAgentTimer& aTimer); |
|
51 |
|
52 public: // From CUserAgentServer |
|
53 void CreateTransactionL(); |
|
54 |
|
55 public: // New functions |
|
56 static CNormalUAS& Ptr(CUserAgent& aUserAgent); |
|
57 |
|
58 protected: |
|
59 CNormalUAS(CUserAgentCreateParams& aParams, |
|
60 MSipDialogs& aDialogs, |
|
61 MSIPRequestRouter& aRouter); |
|
62 |
|
63 private: |
|
64 void ConstructL(MSipConnectionMgr& aConnectionMgr); |
|
65 |
|
66 void CancelAllTimers(); |
|
67 }; |
|
68 |
|
69 #endif // end of NORMALUAS_H |
|
70 |
|
71 // End of File |