Can someone explain the "asQueued" option?

197 views
Skip to first unread message

Frank LaRosa

unread,
Aug 2, 2011, 11:00:06 PM8/2/11
to Java client for Apple Push Notification service (APNs)
What does the "asQueued" option do? The documentation says almost
nothing.

My guess, if I had to make one, is that this sets up a separate thread
which actually performs the http posts, while the main thread that
issues push() calls is just adding things into a queue. If so, that's
definitely what I want.

Thanks.

Mahmood Ali

unread,
Aug 2, 2011, 11:07:42 PM8/2/11
to java-apn...@googlegroups.com
Greetings,

This is exactly what it does, except that rather than HTTP POSTs it uses the native APN protocol.

Regards,
Mahmood

Frank LaRosa

unread,
Aug 2, 2011, 11:15:44 PM8/2/11
to java-apn...@googlegroups.com
Thanks, Mahmood. And, thank you for your work on this project. I had to implement push notifications for both iPhone and Android this week, and your code made the iPhone part of it a lot easier.

Frank
Reply all
Reply to author
Forward
0 new messages