Uses of Class
com.eatthepath.pushy.apns.ApnsClient
| Package | Description |
|---|---|
| com.eatthepath.pushy.apns |
Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).
|
-
Uses of ApnsClient in com.eatthepath.pushy.apns
Methods in com.eatthepath.pushy.apns that return ApnsClient Modifier and Type Method Description ApnsClientApnsClientBuilder. build()Constructs a newApnsClientwith the previously-set configuration.Methods in com.eatthepath.pushy.apns with parameters of type ApnsClient Modifier and Type Method Description voidApnsClientMetricsListener. handleConnectionAdded(ApnsClient apnsClient)Indicates that the client has successfully created a new connection to the APNs server in its internal connection pool.voidApnsClientMetricsListener. handleConnectionCreationFailed(ApnsClient apnsClient)Indicates that an attempt to create a new connection to the APNs server failed.voidApnsClientMetricsListener. handleConnectionRemoved(ApnsClient apnsClient)Indicates that the client has removed a previously-added connection from its internal connection pool.voidApnsClientMetricsListener. handleNotificationAccepted(ApnsClient apnsClient, long notificationId)Indicates that a notification that was previously sent to an APNs server was accepted by the server.voidApnsClientMetricsListener. handleNotificationRejected(ApnsClient apnsClient, long notificationId)Indicates that a notification that was previously sent to an APNs server was rejected by the server.voidApnsClientMetricsListener. handleNotificationSent(ApnsClient apnsClient, long notificationId)Indicates that a notification was sent to the APNs server.voidApnsClientMetricsListener. handleWriteFailure(ApnsClient apnsClient, long notificationId)Indicates that an attempt to send a push notification failed before the notification was processed by the APNs server.