]> rtime.felk.cvut.cz Git - orte.git/commit
shape_android: do not enforce ByteOrder
authorMartin Vajnar <martin.vajnar@gmail.com>
Sat, 2 May 2015 11:38:35 +0000 (13:38 +0200)
committerMartin Vajnar <martin.vajnar@gmail.com>
Fri, 22 May 2015 11:29:07 +0000 (13:29 +0200)
commit09f5cffa90d805eaf2c92e63cc676b51bb25a9b4
treed8fcbc2348c884a7837913607af4371d6e5fec3a
parent098ecfdc87d8f42d1d591c78e1be608e8b94ea43
shape_android: do not enforce ByteOrder

Setting of ByteOrder by user is not supported for publications. That is
on the Java part we discover, what the native ByteOrder is and set it
accordingly (see MessageData() constructor at
orte/java/src/org/ocera/orte/types/MessageData.java:41). On the C side it
is assumed, that the byte order is also native
(see ORTEPublicationSendLocked() at orte/liborte/ORTEPublication.c:316).

But if we set the ByteOrder of publisher different than native on the Java
part, than in liborte it is still believed to be native causing problems
during deserialization.
orte/contrib/shape_android/src/org/ocera/orte/shape_android/BoxType.java