PHP Класс Uecode\Bundle\QPushBundle\Provider\FileProvider

Наследование: extends AbstractProvider
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$filePointerList
$queuePath

Открытые методы

Метод Описание
__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[]

Описание методов

__construct() публичный Метод

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 cleanUp ( )

create() публичный Метод

public create ( )

delete() публичный Метод

public delete ( $id )

destroy() публичный Метод

public destroy ( )

getProvider() публичный Метод

public getProvider ( )

onMessageReceived() публичный Метод

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
Результат boolean | void

publish() публичный Метод

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

receive() публичный Метод

public receive ( array $options = [] ) : Uecode\Bundle\QPushBundle\Message\Message[]
$options array
Результат Uecode\Bundle\QPushBundle\Message\Message[]

Описание свойств

$filePointerList защищенное свойство

protected $filePointerList

$queuePath защищенное свойство

protected $queuePath