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)

Reply via email to