25 Nov
2016
25 Nov
'16
5:28 a.m.
thank you On Thu, Nov 24, 2016 at 9:27 PM, Andre LaBranche/ <dre@mac.com> wrote:
Hi,
On Nov 24, 2016, at 4:56 PM, Gaurav Jain <monkeyfdude@gmail.com> wrote:
Is there a sample implementation/design for AMP push SubscribeToID / UnsubscribeFromID / NotificationForID ?
Our calendar client simulator has amp push support, and although doesn't implement all of the above methods, should get you on the right track:
https://github.com/apple/ccs-calendarserver/blob/master/ contrib/performance/loadtest/amphub.py
For reference, the server-side amp push implementation is here (good doc strings and such): https://github.com/apple/ccs-calendarserver/blob/master/ calendarserver/push/amppush.py
Hope this helps, -dre