equal
deleted
inserted
replaced
75 GetObjectPropList request handler. Builds a list of all the data providers |
75 GetObjectPropList request handler. Builds a list of all the data providers |
76 that support the request, then starts an active object to send it to them all. |
76 that support the request, then starts an active object to send it to them all. |
77 */ |
77 */ |
78 void CMTPGetObjectPropList::ServiceL() |
78 void CMTPGetObjectPropList::ServiceL() |
79 { |
79 { |
|
80 if(iSingletons.DpController().EnumerateState() != CMTPDataProviderController::EEnumeratedFulllyCompleted) |
|
81 { |
|
82 TUint32 handle = Request().Uint32( TMTPTypeRequest::ERequestParameter1 ); |
|
83 TUint32 depth = Request().Uint32( TMTPTypeRequest::ERequestParameter5 ); |
|
84 if (depth > 0) |
|
85 { |
|
86 if (handle != KMTPHandleNone || depth != 1) |
|
87 { |
|
88 RegisterPendingRequest(); |
|
89 return; |
|
90 } |
|
91 } |
|
92 } |
80 iTargetDps.Reset(); |
93 iTargetDps.Reset(); |
81 CMTPParserRouter& router(iSingletons.Router()); |
94 CMTPParserRouter& router(iSingletons.Router()); |
82 CMTPParserRouter::TRoutingParameters params(Request(), iConnection); |
95 CMTPParserRouter::TRoutingParameters params(Request(), iConnection); |
83 router.ParseOperationRequestL(params); |
96 router.ParseOperationRequestL(params); |
84 router.RouteOperationRequestL(params, iTargetDps); |
97 router.RouteOperationRequestL(params, iTargetDps); |