Re: [protobuf] ProtoBuf Extensions for .NET and C++ - ASAP please

124 views
Skip to first unread message

Jason Hsueh

unread,
Sep 11, 2012, 8:23:01 PM9/11/12
to sarvesh, Protocol Buffers
It sounds like you may be looking for https://developers.google.com/protocol-buffers/docs/techniques#union

Or are you looking for more information about the extensions API? https://developers.google.com/protocol-buffers/docs/reference/cpp-generated#extension


On Mon, Sep 3, 2012 at 7:33 AM, sarvesh <sarves...@gmail.com> wrote:
Hi
 
I have a client and server application written in .NET(server part), C++ (client part) which uses protobuf for serializationa and de-serialization.
 
The server sends notification data to client whenever required , and this notification data type could be any and will not be known to client ahead of time.
 
When i was looking into how to solve this scenario, found out dynamic messages topic whiuch suggests to use .NET and C++ protobuf extensions, however there are not enough examples and clarity on how to use them on both the technologies.
 
Could someone please suggest some links or send me some examples for using extensions in protobuf.
 
For Example: The notification data could be  a single object or list of <T> objects in .NET. How to pass those objects in generic way and identify them in C++ based on the type and de-serialize the data according to its type.
 
Thanks and Regards
 
R.Sarvesh

--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/ybzTmpQbBWQJ.
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.

sarvesh

unread,
Sep 17, 2012, 5:36:16 AM9/17/12
to prot...@googlegroups.com, Sarvesh Ramamoorthy
Reply all
Reply to author
Forward
0 new messages