[Rmrf-commit] [SCM] rmrf - read mail really fast branch, master, updated. 2d8797de257f4dceb5d2834a82fd00f30513b132
Patrick Schoenfeld
schoenfeld at debian.org
Mon Jul 27 10:47:35 UTC 2009
The following commit has been merged in the master branch:
commit 2d8797de257f4dceb5d2834a82fd00f30513b132
Author: Patrick Schoenfeld <schoenfeld at debian.org>
Date: Mon Jul 27 12:44:57 2009 +0200
Add Server and MessageSource foo
diff --git a/doc/concept/CORE b/doc/concept/CORE
index 4b01edc..071e668 100644
--- a/doc/concept/CORE
+++ b/doc/concept/CORE
@@ -55,3 +55,33 @@ Generic account class that stores informations like
Each account gets associated to a message source or an outgoing message
handler.
+
+Server
+-----
+Generic server class that will be the (indirect?) inheritance source for
+message sources and outgoing message handlers. One could say
+that this defines the API for these plugins.
+
+Values to store:
+- server/host
+- port
+- associated account object
+- protocol (because one plugin might handle several protocols,
+ for example an IMAP plugin handles IMAP and IMAPS)
+- internal_settings:
+ A Dict to store all settings that are specific to the plugin
+ and can't get defined in an API. For example what authentication
+ type shall be used, etc.
+
+MessageSource
+-------------
+Inherits from Server and most logically is the direct source for message
+source plugins.
+
+Methods:
+- connect
+- register_observer
+- notify_about_new_mails
+- list_messages
+- get_message
+- ...
--
rmrf - read mail really fast
More information about the Rmrf-commit
mailing list