datacommsserver/esockserver/ssock/ss_commsdataobject.cpp
changeset 4 928ed51ddc43
parent 0 dfb7c4ff071f
equal deleted inserted replaced
3:b6139031a239 4:928ed51ddc43
    39 void TGetOrSetParameters::ForwardL(MeshMachine::TNodeContextBase& aContext)
    39 void TGetOrSetParameters::ForwardL(MeshMachine::TNodeContextBase& aContext)
    40 	{
    40 	{
    41 	TUint interfaceId = (*iDataObject)->RequiredItfExtId();
    41 	TUint interfaceId = (*iDataObject)->RequiredItfExtId();
    42 	RLegacyResponseMsg responseMsg(aContext, iMessage, iMessage.Int0());
    42 	RLegacyResponseMsg responseMsg(aContext, iMessage, iMessage.Int0());
    43 	TRAPD(err, ForwardRequestL(aContext));
    43 	TRAPD(err, ForwardRequestL(aContext));
    44 	if(err == KErrNotFound)
    44 	if(err == KErrNotReady)
    45 		{
    45 		{
    46 		// We've reached the bottom of the stack, so complete the message
    46 		// We've reached the bottom of the stack, so complete the message
    47 		if ((*iDataObject)->IsProgressive())
    47 		if ((*iDataObject)->IsProgressive())
    48 			{
    48 			{
    49 			// If the data object was progressive (meaning it traverses the entire
    49 			// If the data object was progressive (meaning it traverses the entire
   102 
   102 
   103 	    // On successful handling of a progressive data object
   103 	    // On successful handling of a progressive data object
   104 	    // forward the data object down to the next node
   104 	    // forward the data object down to the next node
   105 	    TRAP(err, ForwardRequestL(aContext));
   105 	    TRAP(err, ForwardRequestL(aContext));
   106 
   106 
   107 		if(err == KErrNotFound)
   107 		if(err == KErrNotReady)
   108 			{
   108 			{
   109 			// We've reached the bottom of the stack, so complete the message
   109 			// We've reached the bottom of the stack, so complete the message
   110 			Complete(aContext, KErrNone);
   110 			Complete(aContext, KErrNone);
   111 			return;
   111 			return;
   112 			}
   112 			}