In device management core only NEW, INPROGRESS and COMPLETED are found.
Other than that we do require an error status code here to track errors as
well.

On Wed, Mar 18, 2015 at 12:48 AM, Dilshan Edirisuriya <dils...@wso2.com>
wrote:

> Hi,
>
> Right now device management core has a get pending operation list method
> as below,
>
> List<Operation> getPendingOperations(DeviceIdentifier var1) throws
> OperationManagementException;
>
> From the mobile functionality we do require only one operation at a time
> since the protocol handles one request at a time and for subsequent
> requests it keep on maintaining the same cycle of message passing. In
> current approach one you get the pending operation list it change the
> operation status to in-progress hence from the next message execution it
> wont pick this properly from the queue.
>
> Regards,
>
> Dilshan
>
> --
> Dilshan Edirisuriya
> Senior Software Engineer - WSO2
> Mob: + 94 777878905
> http://wso2.com/
> https://www.linkedin.com/profile/view?id=50486426
>



-- 
Dilshan Edirisuriya
Senior Software Engineer - WSO2
Mob: + 94 777878905
http://wso2.com/
https://www.linkedin.com/profile/view?id=50486426
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to