http://code.google.com/p/protobuf-socket-rpc/issues/detail?id=5
The killer additional feature, though, would be if the server could
also send a message to the client at any time, with the client
implementing its own interface. That's not supported in any way right?
This would be particularly useful for creating signaling protocols, a
la SIP and XMPP.
Thanks.
-Adam
--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To post to this group, send email to prot...@googlegroups.com.
To unsubscribe from this group, send email to protobuf+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
Sure, why not? Protocol buffers are just a protocol/library for
encoding messages. There is no reason you can't use it to decode
messages anyway you like. The library itself provides little to no
support for this, but there is no reason you can't use a single TCP
connection to send protocol buffer messages in both directions. In
fact, if you want to write an RPC implementation, you'll have to do
exactly that: send request messages one way, and reply messages the
other.
Evan
--
Evan Jones
http://evanjones.ca/
Or are you saying any networking questions at all are out of bounds for this group? Really?
Stepping back, though, your separation makes a lot of sense. With
Thrift, the type of change I'm proposing would be a significant change
to the core code. With PB, the building blocks are a little more
flexible.
Thanks again.
-Adam
--
Adam Fisk
http://www.littleshoot.org | http://adamfisk.wordpress.com |
http://twitter.com/adamfisk