You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/01/28 09:45:39 UTC

[jira] [Comment Edited] (IGNITE-1491) Platform: Implement platform-dependent PlatformContext.writeAsPortableObjectSafe

    [ https://issues.apache.org/jira/browse/IGNITE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121040#comment-15121040 ] 

Pavel Tupitsyn edited comment on IGNITE-1491 at 1/28/16 8:44 AM:
-----------------------------------------------------------------

I agree. Closed.


was (Author: ptupitsyn):
I agree.

> Platform: Implement platform-dependent PlatformContext.writeAsPortableObjectSafe
> --------------------------------------------------------------------------------
>
>                 Key: IGNITE-1491
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1491
>             Project: Ignite
>          Issue Type: Task
>          Components: interop
>    Affects Versions: 1.5.0.final
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>
> Need to have a reusable way to marshal unknown objects to platforms:
> * Write a success flag first
> * Always write as a portable object so that platforms know its length and can read in portable mode. Platforms may have different Portables implementations.
> * If an object can't be converted to portable, catch an error, write false success flag, and write error class and message as strings



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)