]> rtime.felk.cvut.cz Git - orte.git/commit
JORTE: add deserialize function to support endianness setting
authorMartin Vajnar <martin.vajnar@gmail.com>
Wed, 24 Jul 2013 20:55:24 +0000 (22:55 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 23 Sep 2013 09:06:26 +0000 (11:06 +0200)
commit511905c894fdb6560048f7a9e6ab4e7773450839
tree2f2b733ae4f4baa742b368f040e17a8a60d22a9d
parentc1b4ecfcf658957839422ef82233fee3323db1b1
JORTE: add deserialize function to support endianness setting

This adds implementation of deserialize function which sets proper byte
order for Java's ByteBuffer based on the received data's endianness.

Serialize function is not needed as long as the byte order of Java's
ByteBuffer is not manually changed from native byte order.
orte/include/jorte/org_ocera_orte_DomainApp.h
orte/java/src/org/ocera/orte/DomainApp.java
orte/java/src/org/ocera/orte/examples/hello/HelloMsg.java
orte/java/src/org/ocera/orte/examples/robot/RoboMsg.java
orte/libjorte/JORTETypeRegisterAdd.c
orte/libjorte/onLoad.c