Re: [protobuf] Receiving multiple message types

2012-03-19 Thread Jens Rantil
Hi again, I seem to have found the answer myself: http://code.google.com/apis/protocolbuffers/docs/techniques.html#union Regards, Jens On Sunday, March 18, 2012, Jens Rantil wrote: > Hi, > > I'm a newcomer to protobuf and am trying to wrap my head around some > things. Let's say I have a messa

[protobuf] Receiving multiple message types

2012-03-19 Thread Jens Rantil
Hi, I'm a newcomer to protobuf and am trying to wrap my head around some things. Let's say I have a message receiver of some kind. It can receive different types requests. All messages are encoded in protobuf and my receiver has all *.proto message definitions necessary be able to decode all incom