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

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

Pavel  Tupitsyn created IGNITE-1491:
---------------------------------------

             Summary: 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: ignite-1.5
            Reporter: Pavel  Tupitsyn
            Assignee: Pavel  Tupitsyn
             Fix For: ignite-1.5


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)