ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1491) Platform: Implement platform-dependent PlatformContext.writeAsPortableObjectSafe
Date Tue, 15 Sep 2015 11:56:45 GMT
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)

Mime
View raw message