Logo Search packages:      
Sourcecode: mailcrypt version File versions  Download package

watcher::DirWatcher Class Reference

Inheritance diagram for watcher::DirWatcher:

List of all members.


Detailed Description

This object watches a single maildir for incoming messages. It scans
them for the MailcryptRemailerMessageId number, and stashes them in the
.msgids dictionary by id. It also gives them to a .checker function, if
set. The Maildir class tracks files that have been seen already, and
keeps a persistent list of them, so the checker will only be called once
per message.

Definition at line 82 of file watcher.py.


Public Member Functions

def __getstate__
def __init__
def __init__
def deleteMessage
def dnotify_callback
def doTimeout
def dump
def idlePoll
def messageReceived
def parseMessage
def poll
def setChecker
def start
def startTimeout
def stop
def stopTimeout

Public Attributes

 basedir
 checker
 dnotify
 files
 idler
 msgs
 newdir
 pollinterval
 running
 timeout

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index