ERights Home elib / distrib / captp 
Back to: Protocol Parameter Types On to: DeliverOnlyOp

CapTP:
Surface Syntax Negotiation


Just as E was designed to look C-like, in order to encourage adoption, protocols today must have a textual XML surface syntax. However, efficiency demands that the parties can typically negotiate and switch to an efficient binary syntax. Sanity demands that these merely be different surface syntaxes for the same abstract syntax, so that such a switch-over has no semantic significance.

We will be changing the abstract syntax in which the CapTP protocol is expressed to Doc, and the serialization portion of the protocol will be changed from Java Serialization Streams (eg, ObjectOutputStream) to WOS, which is itself expressed in Doc. On connection, each side starts speaking the textual XML binding of Doc, but can negotiate other concrete syntaxes from there, such as an efficient binary syntax.

*** To be written

 
Unless stated otherwise, all text on this page which is either unattributed or by Mark S. Miller is hereby placed in the public domain.
ERights Home elib / distrib / captp 
Back to: Protocol Parameter Types On to: DeliverOnlyOp
Download    FAQ    API    Mail Archive    Donate

report bug (including invalid html)

Golden Key Campaign Blue Ribbon Campaign