>
>
> So you want to use the opCode value to distinguish which message is sent?
> The common practice is that you always send the sam message over the wire,
> like this:
> message TheOneMessageSentOverTheWire {
> optional EMessages opCode = 1;
> optional MSG_METHOD_CONNECT message1 = 2;
> optional MSG_EVENT_CONNECT message 2 = 3;
> ...
> }
>
Dear Feng,
first, thanks for your reply!
So you suggest to send ALWAYS every message? It sound strange to me! :-)
Is not too verbose? For example if I have 50 or more messages...?
Daniele.
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.