«Flexible» protocol buffer implementation.

Every body knows about protobuf from Google team. It is very useful and effective protocol for data exchanges.

«Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of  its internal RPC protocols and file formats.»

For my project I need to implement specific router for messages from different clients. So my router (receiver) should be able to read (parse) body of message in order to get information about for routing. But I couldn’t predict all protobuf message format on design phase, as result I should analyze message format on runtime.

Читать далее «Flexible» protocol buffer implementation.