Package twisted :: Package trial :: Module remote :: Class _Demo
[frames | no frames]

Class _Demo

      Accessor --+    
                 |    
     Versioned --+    
                 |    
ApplicationService --+
                     |
                    _Demo


Demonstrate trial.remote by spawning trial in a subprocess and displaying results. Wrapped in an ApplicationService so I can use twistd --debug on it.
Method Summary
  startService(self)
This call is made as a service starts up.
    Inherited from ApplicationService
  __init__(self, serviceName, serviceParent, application)
Create me, attached to the given application.
  disownServiceParent(self)
Have my parent disown me.
  get_application(self)
  set_application(self, application)
  setApplication(self, application)
  setServiceParent(self, serviceParent)
Set my parent, which must be a service collection of some kind.
  stopService(self)
This call is made before shutdown.
  upgradeToVersion1(self)
    Inherited from Accessor
  __delattr__(self, k)
  __getattr__(self, k)
  __setattr__(self, k, v)
  reallyDel(self, k)
*actually* del self.k without incurring side-effects.
  reallySet(self, k, v)
*actually* set self.k to v without incurring side-effects.
    Inherited from Versioned
  __getstate__(self, dict)
Get state, adding a version number to it on its way out.
  __setstate__(self, state)
  versionUpgrade(self)
(internal) Do a version upgrade.

Class Variable Summary
    Inherited from ApplicationService
int persistenceVersion = 1                                                                     
NoneType serviceName = None                                                                  
NoneType serviceParent = None                                                                  
int serviceRunning = 0                                                                     
NoneType serviceType = None                                                                  
    Inherited from Versioned
tuple persistenceForgets = ()

Method Details

startService(self)

This call is made as a service starts up.
Overrides:
twisted.internet.app.ApplicationService.startService (inherited documentation)

Generated by Epydoc 2.0 on Sat Sep 13 04:21:11 2003 http://epydoc.sf.net