Browsing Chinese (Simplified) translation

535 of 2684 results
535.
The <code class="API" base="twisted.spread">pb.Root</code>-ish object is given to a <code class="API" base="twisted.spread">pb.PBServerFactory</code><code>()</code>. This is a <code class="API" base="twisted.internet.protocol">Factory</code> object like any other: the <code class="API" base="twisted.internet.protocol">Protocol</code> objects it creates for new connections know how to speak the PB protocol. The object you give to <code>pb.PBServerFactory()</code> becomes the <q>root object</q>, which simply makes it available for the client to retrieve. The client may only request references to the objects you want to provide it: this helps you implement your security model. Because it is so common to export just a single object (and because a <code>remote_*</code> method on that one can return a reference to any other object you might want to give out), the simplest example is one where the <code class="API" base="twisted.spread.pb">PBServerFactory</code> is given the root object, and the client retrieves it.
type: Content of: <html><body><p>
(no translation yet)
Located in howto/pb-usage.xhtml:32
535 of 2684 results

This translation is managed by Exoweb FOSS, assigned by Twisted.

You are not logged in. Please log in to work on translations.