Class PKSendPushNotificationUtil

java.lang.Object
de.brendamour.jpasskit.apns.PKSendPushNotificationUtil
All Implemented Interfaces:
AutoCloseable

public class PKSendPushNotificationUtil extends Object implements AutoCloseable
  • Constructor Details

    • PKSendPushNotificationUtil

      public PKSendPushNotificationUtil(String keyStorePath, char[] keyStorePassword) throws IOException
      Throws:
      IOException
    • PKSendPushNotificationUtil

      public PKSendPushNotificationUtil(String keyStorePath, char[] keyStorePassword, int poolSize) throws IOException
      Throws:
      IOException
  • Method Details

    • setClient

      public void setClient(com.eatthepath.pushy.apns.ApnsClient client)
    • sendPushNotificationAsync

      public com.eatthepath.pushy.apns.util.concurrent.PushNotificationFuture<com.eatthepath.pushy.apns.util.SimpleApnsPushNotification,com.eatthepath.pushy.apns.PushNotificationResponse<com.eatthepath.pushy.apns.util.SimpleApnsPushNotification>> sendPushNotificationAsync(String pushtoken)
    • close

      public void close() throws InterruptedException, ExecutionException
      Specified by:
      close in interface AutoCloseable
      Throws:
      InterruptedException
      ExecutionException