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 ApnsClient
ApnsClientBuilder. build()
Constructs a newApnsClient
with the previously-set configuration.Methods in com.eatthepath.pushy.apns with parameters of type ApnsClient Modifier and Type Method Description void
ApnsClientMetricsListener. handleConnectionAdded(ApnsClient apnsClient)
Indicates that the client has successfully created a new connection to the APNs server in its internal connection pool.void
ApnsClientMetricsListener. handleConnectionCreationFailed(ApnsClient apnsClient)
Indicates that an attempt to create a new connection to the APNs server failed.void
ApnsClientMetricsListener. handleConnectionRemoved(ApnsClient apnsClient)
Indicates that the client has removed a previously-added connection from its internal connection pool.void
ApnsClientMetricsListener. handleNotificationAccepted(ApnsClient apnsClient, long notificationId)
Indicates that a notification that was previously sent to an APNs server was accepted by the server.void
ApnsClientMetricsListener. handleNotificationRejected(ApnsClient apnsClient, long notificationId)
Indicates that a notification that was previously sent to an APNs server was rejected by the server.void
ApnsClientMetricsListener. handleNotificationSent(ApnsClient apnsClient, long notificationId)
Indicates that a notification was sent to the APNs server.void
ApnsClientMetricsListener. handleWriteFailure(ApnsClient apnsClient, long notificationId)
Indicates that an attempt to send a push notification failed before the notification was processed by the APNs server.