Class PKSendPushNotificationUtil

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class PKSendPushNotificationUtil
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()  
      void sendMultiplePushNotifications​(java.util.List<java.lang.String> pushtokens)
      Deprecated. 
      void sendPushNotification​(java.lang.String pushtoken)
      Deprecated. 
      com.turo.pushy.apns.util.concurrent.PushNotificationFuture<com.turo.pushy.apns.util.SimpleApnsPushNotification,​com.turo.pushy.apns.PushNotificationResponse<com.turo.pushy.apns.util.SimpleApnsPushNotification>> sendPushNotificationAsync​(java.lang.String pushtoken)  
      void setClient​(com.turo.pushy.apns.ApnsClient client)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PKSendPushNotificationUtil

        public PKSendPushNotificationUtil​(java.lang.String keyStorePath,
                                          char[] keyStorePassword)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • PKSendPushNotificationUtil

        public PKSendPushNotificationUtil​(java.lang.String keyStorePath,
                                          char[] keyStorePassword,
                                          int poolSize)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • PKSendPushNotificationUtil

        @Deprecated
        public PKSendPushNotificationUtil​(java.lang.String keyStorePath,
                                          java.lang.String keyStorePassword)
                                   throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • PKSendPushNotificationUtil

        @Deprecated
        public PKSendPushNotificationUtil​(java.lang.String keyStorePath,
                                          java.lang.String keyStorePassword,
                                          int poolSize)
                                   throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
    • Method Detail

      • setClient

        public void setClient​(com.turo.pushy.apns.ApnsClient client)
      • sendPushNotification

        @Deprecated
        public void sendPushNotification​(java.lang.String pushtoken)
        Deprecated.
        Since:
        0.1.0
      • sendPushNotificationAsync

        public com.turo.pushy.apns.util.concurrent.PushNotificationFuture<com.turo.pushy.apns.util.SimpleApnsPushNotification,​com.turo.pushy.apns.PushNotificationResponse<com.turo.pushy.apns.util.SimpleApnsPushNotification>> sendPushNotificationAsync​(java.lang.String pushtoken)
      • sendMultiplePushNotifications

        @Deprecated
        public void sendMultiplePushNotifications​(java.util.List<java.lang.String> pushtokens)
        Deprecated.
        Since:
        0.1.0
      • close

        public void close()
                   throws java.lang.InterruptedException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.InterruptedException