Am 11.05.2013 22:19, schrieb Gerald Madlmayr:
> Hi,
>
> I'd like to use Autobahn.ws in combination with Google Protobufs.
Which? AutobahnPython, AutobahnAndroid, ..?
> Actually I'm a Java Developer and my Server Infrastructure is already up
> and running with Netty 4.0.0 CR1 + Protobufs 2.5.0.
>
> When using "standard" Messages over the WebSockets Channel everything is
> fine, but when using Protobufs, I do have an encoding/decoding problem,
> as I'm using HTTP but Googles Protobufs.
>
> On the Java Server I do have Classes, such as
> ProtobufVarint32FrameDecoder, ProtobufDecoder,
> ProtobufVarint32LengthFieldPrepender and ProtobufEncoder that help me to
> do the Jobs with Netty. So I was wondering if there a similar thing for
> Python as well? I'm new to Pyhton so I might have missed something.
Protobuf's seem to be supported on Python
https://developers.google.com/protocol-buffers/docs/pythontutorial
Honestly, I'm not sure I understand how this is related to Autobahn. Do
you want to write a WebSocket-based client using Protobufs talking to
your Netty server? You want a Python or Android client? If so, then yes,
you can take AutobahnPython or AutobahnAndroid as a basis, use the raw
WebSocket layer those libraries expose, and then layer your Protobuf
stuff on top ..
Apart from that, Autobahn also provides WAMP:
http://www.wamp.ws/
Different from Protobufs, the serialization is (deliberately)
schemaless, and WAMP provides RPC and PubSub messaging patterns.
Tobias
>
> Kind Regards, Gerald
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Autobahn" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
autobahnws+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>