You can cheat a little bit with that. I would use a directbytebuffer
to represent the zmsg struct. Then I would create a class around it
with convenient accessor methods for the various offsets. Feel free to
ping me offline if you need some help.

-Trev

On Thu, Sep 10, 2015 at 7:21 AM, Pieter Hintjens <[email protected]> wrote:
> So the specific point we got stuck on was, when we need to use e.g.
> zmsg, how that works. I see that the Zyre project.xml refers to these
> three classes. I guess that means we have to start by JNI-wrapping
> CZMQ, and then we can use that in higher layers?
>
>
> On Thu, Sep 10, 2015 at 5:58 AM, Pieter Hintjens <[email protected]> wrote:
>> Stuck on the zproject representation. Though tbh we're rushed so not taking
>> time to learn from the other binding generators.
>>
>> On 9 Sep 2015 23:45, "Joe McIlvain" <[email protected]> wrote:
>>>
>>> Pieter,
>>>
>>> When you say you're stuck on the internal model, do you mean on the
>>> zproject representation of the API model, or on JNI-specific internals (in
>>> need of a Java/JNI guru)?
>>>
>>>
>>> On Wed, Sep 9, 2015 at 2:11 PM, Pieter Hintjens <[email protected]> wrote:
>>>>
>>>> Hi guys,
>>>>
>>>> We've started a small effort to make a JNI binding generator in
>>>> zproject, with Zyre as our use case.
>>>>
>>>> We're getting a little stuck on the internal model, so if anyone wants
>>>> to lend a hand, the code is on zproject master in
>>>> zproject_bindings_jni.gsl.
>>>>
>>>> Cheers
>>>> Pieter
>>>> _______________________________________________
>>>> zeromq-dev mailing list
>>>> [email protected]
>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>>
>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> [email protected]
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to