| | |
| | | | This file is part of the Roundcube Webmail client | |
| | | | Copyright (C) 2005-2012, The Roundcube Dev Team | |
| | | | Copyright (C) 2012, Kolab Systems AG | |
| | | | Licensed under the GNU GPL | |
| | | | | |
| | | | Licensed under the GNU General Public License version 3 or | |
| | | | any later version with exceptions for skins & plugins. | |
| | | | See the README file for a full license statement. | |
| | | | | |
| | | | PURPOSE: | |
| | | | Mail Storage Engine | |
| | |
| | | * @return boolean TRUE on success, FALSE on failure |
| | | */ |
| | | abstract function is_connected(); |
| | | |
| | | |
| | | /** |
| | | * Check connection state, connect if not connected. |
| | | * |
| | | * @return bool Connection state. |
| | | */ |
| | | abstract function check_connection(); |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | /** |
| | | * Sends the whole message source to stdout |
| | | * |
| | | * @param int $uid Message UID |
| | | * @param bool $formatted Enables line-ending formatting |
| | | */ |
| | | abstract function print_raw_body($uid); |
| | | abstract function print_raw_body($uid, $formatted = true); |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | abstract function get_cache($key); |
| | | |
| | | /** |
| | | * Delete outdated cache entries |
| | | */ |
| | | abstract function expunge_cache(); |
| | | |
| | | } // end class rcube_storage |
| | | |
| | | |