메소드 |
설명 |
|
__construct ( $name, array $options, $client, Doctrine\Common\Cache\Cache $cache, Logger $logger ) |
|
|
create ( ) |
Builds the configured queues |
|
createQueue ( ) : string |
Creates an SQS Queue and returns the Queue Url |
|
createSqsPolicy ( ) : string |
Creates a Policy for SQS that's required to allow SNS SendMessage access |
|
createTopic ( ) : false | null |
Creates a SNS Topic and returns the ARN |
|
delete ( $id ) : boolean |
{@inheritDoc} |
|
destroy ( ) : boolean |
|
|
getProvider ( ) |
|
|
getTopicSubscriptions ( string $topicArn ) : array |
Get a list of Subscriptions for the specified SNS Topic |
|
onMessageReceived ( Uecode\Bundle\QPushBundle\Event\MessageEvent $event ) : boolean | void |
Removes the message from queue after all other listeners have fired |
|
onNotification ( Uecode\Bundle\QPushBundle\Event\NotificationEvent $event, string $eventName, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) : boolean | void |
Handles SNS Notifications |
|
publish ( array $message, array $options = [] ) : string |
{@inheritDoc} |
|
queueExists ( ) : boolean |
Return the Queue Url |
|
receive ( array $options = [] ) |
{@inheritDoc} |
|
subscribeToTopic ( string $topicArn, string $protocol, string $endpoint ) : string |
Subscribes an endpoint to a SNS Topic |
|
topicExists ( ) : boolean |
Checks to see if a Topic exists |
|
unsubscribeFromTopic ( string $topicArn, string $protocol, string $endpoint ) : boolean |
Unsubscribes an endpoint from a SNS Topic |
|