Package twisted :: Package web :: Module spider :: Class SpiderSender
[frames | no frames]

Class SpiderSender

      Accessor --+    
                 |    
     Versioned --+    
                 |    
ApplicationService --+
                     |
                    SpiderSender


Method Summary
  __init__(self, *args, **kw)
  __getstate__(self)
  addTargets(self, targets)
  download(self)
  downloadFailed(self, reasons, uri)
  downloadFinished(self, anchors, uri, depth)
  notifyDownloadEnd(self, uri)
  notifyDownloadStart(self, uri)
  startService(self)
This call is made as a service starts up.
  stopService(self)
This call is made before shutdown.
  tryDownload(self)
    Inherited from ApplicationService
  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.
  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
  __setstate__(self, state)
  versionUpgrade(self)
(internal) Do a version upgrade.

Class Variable Summary
str fileTemplate = '%s/%s'
int maxDepth = 5                                                                     
int maxDownloaders = 10                                                                    
    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)

stopService(self)

This call is made before shutdown.
Overrides:
twisted.internet.app.ApplicationService.stopService (inherited documentation)

Class Variable Details

fileTemplate

Type:
str
Value:
'%s/%s'                                                                

maxDepth

Type:
int
Value:
5                                                                     

maxDownloaders

Type:
int
Value:
10                                                                    

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