|
1 /* |
|
2 * Copyright (c) 2004 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: See class definition below. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __TCMDUPDATESUBSCRIBE_H__ |
|
19 #define __TCMDUPDATESUBSCRIBE_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include "TTcSIPCommandBase.h" |
|
23 |
|
24 // CLASS DEFINITION |
|
25 /** |
|
26 * Command class responsible for "UpdateSubscribe" functionality. |
|
27 */ |
|
28 class TCmdUpdateSubscribe |
|
29 : public TTcSIPCommandBase |
|
30 { |
|
31 public: // Constructors and destructor |
|
32 |
|
33 /** |
|
34 * Constructor. |
|
35 * |
|
36 * @param aContext SIP Test case context |
|
37 */ |
|
38 TCmdUpdateSubscribe( MTcTestContext& aContext ) |
|
39 : TTcSIPCommandBase( aContext ) {}; |
|
40 |
|
41 public: // From TTcSIPCommandBase |
|
42 |
|
43 void ExecuteL(); |
|
44 |
|
45 public: // New methods |
|
46 |
|
47 /** |
|
48 * Static function for matching the name of this command to |
|
49 * a function identifier. |
|
50 * |
|
51 * @param aId An initialized identifier containing a function name. |
|
52 * @return ETrue if this command matches the specified name. |
|
53 */ |
|
54 static TBool Match( const TTcIdentifier& aId ); |
|
55 |
|
56 /** |
|
57 * Static fuction for creating an instance of this class |
|
58 * |
|
59 * @param aContext SIP Test case context |
|
60 * @return An initialized instance of this class. |
|
61 */ |
|
62 static TTcCommandBase* CreateL( MTcTestContext& aContext ); |
|
63 |
|
64 }; |
|
65 |
|
66 #endif // __TCMDUPDATESUBSCRIBE_H__ |