Package de.brendamour.jpasskit.apns
Class PKSendPushNotificationUtil
java.lang.Object
de.brendamour.jpasskit.apns.PKSendPushNotificationUtil
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionPKSendPushNotificationUtil(String keyStorePath, char[] keyStorePassword) PKSendPushNotificationUtil(String keyStorePath, char[] keyStorePassword, int poolSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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) voidsetClient(com.eatthepath.pushy.apns.ApnsClient client)
-
Constructor Details
-
PKSendPushNotificationUtil
- 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
- Specified by:
closein interfaceAutoCloseable- Throws:
InterruptedExceptionExecutionException
-