Mcfedr\AwsPushBundle\Service\Topics
Synopsis
- // members
- private SnsClient $sns;
- private LoggerInterface $logger;
- private Messages $messages;
- private bool $debug;
- // methods
- public void __construct()
- public void registerDeviceOnTopic()
- public void broadcast()
Members
private
- $debug — Mcfedr\AwsPushBundle\Service\bool
- $logger — Psr\Log\LoggerInterface
- $messages — Mcfedr\AwsPushBundle\Service\Messages
- $sns — Aws\Sns\SnsClient
Methods
public
- __construct()
- broadcast() — Send a message to all topics in the group
- registerDeviceOnTopic() — Subscribe a device to the topic, will create new numbered topics once the first is full
History
-
2014-10-28T17:55:54+02:00 (commit #4209640)
Author: Fred Cox (fred@ekreative.com) / Commiter: Fred Cox (fred@ekreative.com)
deprecated topics
-
2014-10-15T15:41:15+03:00 (commit #7d82f1c)
Author: Fred Cox (fred@ekreative.com) / Commiter: Fred Cox (fred@ekreative.com)
Add some unit tests for the controllers
-
2014-10-07T22:42:58+03:00 (commit #30ac003)
Author: Fred Cox (mcfedr@gmail.com) / Commiter: Fred Cox (mcfedr@gmail.com)
Since Sns no longer has limit on subscriptions per topic we can really simplify this
-
2014-10-07T22:30:45+03:00 (commit #07916d6)
Author: Fred Cox (mcfedr@gmail.com) / Commiter: Fred Cox (mcfedr@gmail.com)
Change the namespace name
-
2014-05-08T13:14:51+03:00 (commit #991eb16)
Author: Fred Cox (fred@ekreative.com) / Commiter: Fred Cox (fred@ekreative.com)
Codestyle changes
-
2014-04-17T12:20:41+03:00 (commit #7472a8d)
Author: Fred Cox (fred@ekreative.com) / Commiter: Fred Cox (fred@ekreative.com)
Fix bug creating first topic
-
2014-04-05T16:19:33+03:00 (commit #e1bff92)
Author: Fred Cox (mcfedr@gmail.com) / Commiter: Fred Cox (mcfedr@gmail.com)
Use a doctrine cache for topics Add a command to show topics in use
-
2014-03-06T23:08:39+02:00 (commit #5d47faa)
Author: Fred Cox (mcfedr@gmail.com) / Commiter: Fred Cox (mcfedr@gmail.com)
Correct topic registering to check if the device is registered on any of the topics
-
2014-02-18T23:06:14+02:00 (commit #8ec86ab)
Author: Fred Cox (mcfedr@gmail.com) / Commiter: Fred Cox (mcfedr@gmail.com)
Add debug flag to topic broadcast
-
2014-02-15T00:04:28+02:00 (commit #7753581)
Author: Fred Cox (mcfedr@gmail.com) / Commiter: Fred Cox (mcfedr@gmail.com)
Optimise pushing by encoding the message only once
-
2014-02-14T23:17:44+02:00 (commit #d1b1b0e)
Author: Fred Cox (mcfedr@gmail.com) / Commiter: Fred Cox (mcfedr@gmail.com)
Add support for pushing using topics, this should speed up push delivery considerably