You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/10/27 12:02:27 UTC

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

     [ https://issues.apache.org/jira/browse/IGNITE-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Ozerov updated IGNITE-1491:
------------------------------------
    Fix Version/s:     (was: 1.5)
                   1.6

> 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
>            Reporter: Pavel  Tupitsyn
>            Assignee: Vladimir Ozerov
>             Fix For: 1.6
>
>
> 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)