PHP Class Uecode\Bundle\QPushBundle\Provider\FileProvider

Inheritance: extends AbstractProvider
Afficher le fichier Open project: uecode/qpush-bundle Class Usage Examples

Protected Properties

Свойство Type Description
$filePointerList
$queuePath

Méthodes publiques

Méthode Description
__construct ( $name, array $options, $client, Doctrine\Common\Cache\Cache $cache, Logger $logger )
cleanUp ( )
create ( )
delete ( $id )
destroy ( )
getProvider ( )
onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : boolean | void Removes the message from queue after all other listeners have fired
publish ( array $message, array $options = [] )
receive ( array $options = [] ) : Uecode\Bundle\QPushBundle\Message\Message[]

Method Details

__construct() public méthode

public __construct ( $name, array $options, $client, Doctrine\Common\Cache\Cache $cache, Logger $logger )
$options array
$cache Doctrine\Common\Cache\Cache
$logger Monolog\Logger

cleanUp() public méthode

public cleanUp ( )

create() public méthode

public create ( )

delete() public méthode

public delete ( $id )

destroy() public méthode

public destroy ( )

getProvider() public méthode

public getProvider ( )

onMessageReceived() public méthode

If an earlier listener has erred or stopped propagation, this method will not fire and the Queued Message should become visible in queue again. Stops Event Propagation after removing the Message
public onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : boolean | void
$event Uecode\Bundle\QPushBundle\Event\MessageEvent The SQS Message Event
Résultat boolean | void

publish() public méthode

public publish ( array $message, array $options = [] )
$message array
$options array

receive() public méthode

public receive ( array $options = [] ) : Uecode\Bundle\QPushBundle\Message\Message[]
$options array
Résultat Uecode\Bundle\QPushBundle\Message\Message[]

Property Details

$filePointerList protected_oe property

protected $filePointerList

$queuePath protected_oe property

protected $queuePath