/** * interface iProcess * Something that can be executed * * @copyright Copyright (C) 2010-2012 Combodo SARL * @license http://opensource.org/licenses/AGPL-3.0 */ interface iProcess { public function Process($iUnixTimeLimit); } /** * interface iBackgroundProcess * Any extension that must be called regularly to be executed in the background * * @copyright Copyright (C) 2010-2012 Combodo SARL * @license http://opensource.org/licenses/AGPL-3.0 */ interface iBackgroundProcess extends iProcess { /* Gives the repetition rate in seconds @returns integer */ public function GetPeriodicity(); } /** * interface iScheduledProcess * A variant of process that must be called at specific times * * @copyright Copyright (C) 2013 Combodo SARL * @license http://opensource.org/licenses/AGPL-3.0 */ interface iScheduledProcess extends iProcess { /* Gives the exact time at which the process must be run next time @returns DateTime */ public function GetNextOccurrence(); } ?>