http://wiki.erights.org/mediawiki/index.php?title=Miranda_optSealedDispatch&feed=atom&action=historyMiranda optSealedDispatch - Revision history2024-03-19T13:03:34ZRevision history for this page on the wikiMediaWiki 1.15.5-7http://wiki.erights.org/mediawiki/index.php?title=Miranda_optSealedDispatch&diff=2160&oldid=prevKevin Reid: create from javadoc2011-08-07T03:25:06Z<p>create from javadoc</p>
<p><b>New page</b></p><div>'''__optSealedDispatch/1''' is a [[Miranda message]].<br />
<br />
{{instance msgdoc|__optSealedDispatch|1|<var>brand</var> :[[Brand]]|[[void]]}}<br />
<br />
Generic object-level rights amplification protocol.<br />
<br />
Dispatch on the brand much as one would dispatch on a message name. If<br />
we recognize the brand and we have the corresponding sealer, then we may<br />
return something meaningful inside a [[SealedBox]] sealed with that [[Sealer]].<br />
If we have nothing to return, given the meaning we associate with that<br />
brand as a request, then we return null.<br />
<br />
Something meaningful? Sounds strange. See [http://www.eros-os.org/pipermail/e-lang/2002-May/006435.html <nowiki>[e-lang]</nowiki> Object coercion / adaptation] and the surrounding thread for more on<br />
the rationale for the design of this method. Note that, at the time of<br />
that discussion, this method was named getOptMeta instead.<br />
<br />
The default implementation: return null.<br />
<br />
If this object isn't actually transparent, but if <tt>brand</tt><br />
represents a party this object would like to reveal itself to (such as a<br />
serialization system implementing persistence for this object's<br />
subsystem), then this object can choose to return a [[SealedBox]], sealed by<br />
the by the [[Sealer]] for that brand, containing the same triple that [[Miranda optUncall|__optUncall]] would otherwise have returned. By so doing, the object<br />
reveals its internals only to someone having the corresponding<br />
[[Unsealer]].<br />
<br />
[[Category:Miranda messages]]</div>Kevin Reid