]> 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)
committerMartin Vajnar <martin.vajnar@gmail.com>
Wed, 24 Jul 2013 20:55:24 +0000 (22:55 +0200)
commit683e5f61f3e7b6c1ade1b4910264d8f96781ade0
tree5396886fb04b9c2788eb30c96edc3f3fddb0b8eb
parent29d73728cf08d78d8ac634626d5840775c62befa
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