public class PKSendPushNotificationUtil extends Object implements AutoCloseable
| Constructor and Description |
|---|
PKSendPushNotificationUtil(String keyStorePath,
char[] keyStorePassword) |
PKSendPushNotificationUtil(String keyStorePath,
char[] keyStorePassword,
int poolSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
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) |
void |
setClient(com.eatthepath.pushy.apns.ApnsClient client) |
public PKSendPushNotificationUtil(String keyStorePath, char[] keyStorePassword) throws IOException
IOExceptionpublic PKSendPushNotificationUtil(String keyStorePath, char[] keyStorePassword, int poolSize) throws IOException
IOExceptionpublic void setClient(com.eatthepath.pushy.apns.ApnsClient client)
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)
public void close()
throws InterruptedException,
ExecutionException
close in interface AutoCloseableInterruptedExceptionExecutionExceptionCopyright © 2012–2022. All rights reserved.