33 #include "pdpfsmnmspace.h" |
31 #include "pdpfsmnmspace.h" |
34 #include "cpdpfsm.h" |
32 #include "cpdpfsm.h" |
35 |
33 |
36 TInt TPdpStateModifyingActive::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode) |
34 TInt TPdpStateModifyingActive::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode) |
37 { |
35 { |
38 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_1, ">>TPdpStateModifyingActive::Input()"); |
|
39 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_2, "aOperation : %S(%d)", *(LogOperation(aFsm, aOperation)), aOperation); |
|
40 |
|
41 switch (aOperation) |
36 switch (aOperation) |
42 { |
37 { |
43 case PdpFsm::EPdpContextModified: |
38 case PdpFsm::EPdpContextModified: |
44 aFsm.ChangeStateToOpen(); |
39 aFsm.ChangeStateToOpen(); |
45 SpudManNotify(aFsm, KContextModifyActiveEvent, KErrNone); |
40 SpudManNotify(aFsm, KContextModifyActiveEvent, KErrNone); |
46 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_3, "<<TPdpStateModifyingActive::Input()"); |
|
47 return KErrNone; |
41 return KErrNone; |
48 case PdpFsm::EPdpContextModifiedFailed: |
42 case PdpFsm::EPdpContextModifiedFailed: |
49 aFsm.ChangeStateToOpen(); |
43 aFsm.ChangeStateToOpen(); |
50 SpudManNotify(aFsm, KContextModifyActiveEvent, aErrorCode); |
44 SpudManNotify(aFsm, KContextModifyActiveEvent, aErrorCode); |
51 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_4, "<<TPdpStateModifyingActive::Input()"); |
45 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_4, "*** PDP CONTEXT MODIFY FAILED ***"); |
52 return KErrNone; |
46 return KErrNone; |
53 } |
47 } |
54 |
48 |
55 // default error handling |
49 // default error handling |
56 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_5, "<<TPdpStateModifyingActive::Input()"); |
|
57 return TPdpState::Input(aFsm, aOperation, aErrorCode); |
50 return TPdpState::Input(aFsm, aOperation, aErrorCode); |
58 } |
51 } |
59 |
|
60 |
|