|
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 : TStateActiveResolved.h |
|
16 * Part of : NetworkMonitor |
|
17 * See class definition below. |
|
18 * Version : SIP/4.0 |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 /** |
|
26 @internalComponent |
|
27 */ |
|
28 |
|
29 #ifndef __TSTATEACTIVERESOLVED_H__ |
|
30 #define __TSTATEACTIVERESOLVED_H__ |
|
31 |
|
32 // INCLUDES |
|
33 #include "TStateBase.h" |
|
34 |
|
35 // CLASS DEFINITION |
|
36 /** |
|
37 * TStateActiveResolved implements the Active:Resolved state |
|
38 */ |
|
39 class TStateActiveResolved |
|
40 : public TStateBase |
|
41 { |
|
42 public: // Constructors and destructor |
|
43 |
|
44 /** |
|
45 * Constructor. |
|
46 * @param aOwner State model that owns us. |
|
47 * @param aContext Reference to SIP connection context |
|
48 */ |
|
49 TStateActiveResolved( MStateModel& aOwner, |
|
50 MSIPConnectionContext& aContext ) |
|
51 : TStateBase( aOwner, aContext ) {}; |
|
52 |
|
53 public: // From TStateBase |
|
54 |
|
55 void SendL( const TSIPTransportParams& aParams, |
|
56 CSIPRequest& aRequest, |
|
57 TBool aForceUDP, |
|
58 const CUri8* aOutboundProxy, |
|
59 const TInetAddr& aRemoteAddr, |
|
60 TRequestStatus& aStatus ); |
|
61 |
|
62 void SendL( const TSIPTransportParams& aParams, |
|
63 CSIPResponse& aResponse, |
|
64 TTransactionId aId, |
|
65 TRequestStatus& aStatus ); |
|
66 |
|
67 void NetworkStateChanged( MSIPNetworkObserver::TNetworkState aState, |
|
68 TInt aError ); |
|
69 |
|
70 }; |
|
71 |
|
72 #endif // __TSTATEACTIVERESOLVED_H__ |