diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-12-06 15:52:40 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-12-06 15:52:40 -0800 |
commit | b471ca6b81b88dc23aae6a53345d94d9a2714a7c (patch) | |
tree | 87626d9f55bc234be7308e58ae9e3add87768d62 /tools | |
parent | 2a7f51f3fd534b3e9e098c522cffbb96e1551474 (diff) |
The last major revision to the upb_stream protocol.
Sources and sinks communicate by means of a
upb_handlers object, which encapsulates a set of
handler callbacks and will possibly offer richer
semantics in the future like giving specific
fields different callbacks.
The upb_handlers protocol supports delegation, so
sets of handlers can be written in reusable ways.
For example, if a set of handlers is written to
handle a specific .proto type, those handlers can
be used whether that type is at the top level or
whether it is a sub-message of a higher-level type.
Delegation allows the streaming protocol to
properly compose.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions