Browsing Chinese (Simplified) translation

Don't show this notice anymore
Before translating, be sure to go through Exoweb FOSS guidelines.
110 of 18 results
523.
Possible sources of error
type: Content of: <html><body><h2>
(no translation yet)
Located in howto/gendefer.xhtml:277
531.
Basic Example
type: Content of: <html><body><h2>
(no translation yet)
Located in howto/pb-usage.xhtml:10
551.
Complete Example
type: Content of: <html><body><h2>
(no translation yet)
Located in howto/pb-usage.xhtml:152
688.
Use Services to Make Dependencies Sane
type: Content of: <html><body><h2>
(no translation yet)
Located in howto/tutorial/protocol.xhtml:46
689.
The previous version had the setter poke at the innards of the finger factory. This strategy is usually not a good idea: this version makes both factories symmetric by making them both look at a single object. Services are useful for when an object is needed which is not related to a specific network server. Here, we define a common service class with methods that will create factories on the fly. The service also contains methods the factories will depend on.
type: Content of: <html><body><p>
(no translation yet)
Located in howto/tutorial/protocol.xhtml:48
690.
The factory-creation methods, <code>getFingerFactory</code> and <code>getFingerSetterFactory</code>, follow this pattern:
type: Content of: <html><body><p>
(no translation yet)
Located in howto/tutorial/protocol.xhtml:56
691.
Instantiate a generic server factory, <code>twisted.internet.protocol.ServerFactory</code>.
type: Content of: <html><body><ol><li>
(no translation yet)
Located in howto/tutorial/protocol.xhtml:61
692.
Set the protocol class, just like our factory class would have.
type: Content of: <html><body><ol><li>
(no translation yet)
Located in howto/tutorial/protocol.xhtml:64
693.
Copy a service method to the factory as a function attribute. The function won't have access to the factory's <code>self</code>, but that's OK because as a bound method it has access to the service's <code>self</code>, which is what it needs. For <code>getUser</code>, a custom method defined in the service gets copied. For <code>setUser</code>, a standard method of the <code>users</code> dictionary is copied.
type: Content of: <html><body><ol><li>
(no translation yet)
Located in howto/tutorial/protocol.xhtml:66
694.
Thus, we stopped subclassing: the service simply puts useful methods and attributes inside the factories. We are getting better at protocol design: none of our protocol classes had to be changed, and neither will have to change until the end of the tutorial.
type: Content of: <html><body><p>
(no translation yet)
Located in howto/tutorial/protocol.xhtml:75
110 of 18 results

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

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

Contributors to this translation: Allen Zhong, BomB, Bug King, Fantix King, Hu Yuxin, Kevin, Liu, Kun, Xiong Xiao Feng, suntree_dongcai.