Overview

Namespaces

  • Avisota
    • Event
    • Message
    • Queue
    • Recipient
    • RecipientSource
    • Renderer
    • Templating
    • Test
      • Database
      • Imap
      • Message
      • Queue
      • Renderer
      • Transport
    • Transport

Classes

  • ExecutionConfig
  • QueueHelper
  • SimpleDatabaseQueue

Interfaces

  • ArchivingQueueInterface
  • EventEmittingQueueInterface
  • ExecutionDeciderInterface
  • LoggingQueueInterface
  • MutableQueueInterface
  • QueueInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: /**
 4:  * Avisota newsletter and mailing system
 5:  *
 6:  * PHP Version 5.3
 7:  *
 8:  * @copyright  bit3 UG 2013
 9:  * @author     Tristan Lins <tristan.lins@bit3.de>
10:  * @package    avisota-core
11:  * @license    LGPL-3.0+
12:  * @link       http://avisota.org
13:  */
14: 
15: namespace Avisota\Queue;
16: 
17: /**
18:  * A queue that archive send messages and provide information about
19:  * successfully and faulty messages.
20:  *
21:  * @package avisota-core
22:  */
23: interface ArchivingQueueInterface extends QueueInterface
24: {
25:     /**
26:      * Clean transported message information.
27:      *
28:      * @return bool
29:      */
30:     public function cleanup();
31: 
32:     /**
33:      * Return the count of send messages.
34:      *
35:      * @return int
36:      */
37:     public function sendCount();
38: 
39:     /**
40:      * Return the successfully send messages.
41:      *
42:      * @return ArchivingQueueEntryInterface
43:      */
44:     public function successfullyMessages();
45: 
46:     /**
47:      * Return the faulty send messages.
48:      *
49:      * @return int
50:      */
51:     public function faultyMessages();
52: }
53: 
avisota/core API documentation generated by ApiGen 2.8.0