On Oct 26, 2010, at 15:45 , maninder batth wrote:
My generic Handler would create a GeneratedMessage and look for the
field messageType. Based on the value of the messageType, a particular
handler will be invoked.
This is basically what I have done, for my protobuf RPC
implementation. If you only need to choose between a limited set of
types, you may want a union type or extensions instead:
You received this message because you are subscribed to the Google Groups "Protocol
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at