Package buildbot :: Package changes :: Module mail :: Class MaildirSource
[frames | no frames]

Class MaildirSource

ComparableMixin --+    
                  |    
        Service --+    
                  |    
       ChangeSource --+
                      |
        Maildir --+   |
                  |   |
        Service --+   |
                  |   |
     MaildirTwisted --+
                      |
                     MaildirSource

Known Subclasses:
BonsaiMaildirSource, FCMaildirSource, SyncmailMaildirSource

This source will watch a maildir that is subscribed to a FreshCVS change-announcement mailing list.
Method Summary
  __init__(self, maildir, prefix, sep)
  describe(self)
  messageReceived(self, filename)
Called when a new file is noticed.
    Inherited from MaildirTwisted
  dnotify_callback(self)
  startService(self)
  startTimeout(self)
  stopService(self)
  stopTimeout(self)
    Inherited from Maildir
  poll(self)
  setBasedir(self, basedir)
  start(self)
You must run start to receive any messages.
  stop(self)
    Inherited from Service
  __getstate__(self)
  disownServiceParent(self)
  privilegedStartService(self)
  setName(self, name)
  setServiceParent(self, parent)
    Inherited from ComparableMixin
  __cmp__(self, them)
  __hash__(self)

Class Variable Summary
list compare_attrs = ['basedir', 'newdir', 'pollinterval', 'p...
NoneType name = None                                                                  
NoneType parser = None                                                                  
    Inherited from MaildirTwisted
NoneType timeout = None                                                                  
    Inherited from ChangeSource
Implements __implemented__ = <implementedBy buildbot.changes.base.C...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Service
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
NoneType parent = None                                                                  
int running = 0                                                                     

Method Details

messageReceived(self, filename)

Called when a new file is noticed. Override it in subclasses. Will receive path relative to maildir/new.
Overrides:
buildbot.changes.maildir.Maildir.messageReceived (inherited documentation)

Class Variable Details

compare_attrs

Type:
list
Value:
['basedir', 'newdir', 'pollinterval', 'parser']                        

name

Type:
NoneType
Value:
None                                                                  

parser

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 http://epydoc.sf.net