Package | Description |
---|---|
com.relayrides.pushy.apns |
Contains classes and interfaces for interacting with the Apple Push Notification service (APNs).
|
Modifier and Type | Method and Description |
---|---|
void |
PushManager.handleConnectionClosure(ApnsConnection<T> connection) |
void |
ApnsConnectionListener.handleConnectionClosure(ApnsConnection<T> connection)
Indicates that the given connection has disconnected from the previously-connected APNs gateway and can no
longer send push notifications.
|
void |
PushManager.handleConnectionFailure(ApnsConnection<T> connection,
Throwable cause) |
void |
ApnsConnectionListener.handleConnectionFailure(ApnsConnection<T> connection,
Throwable cause)
Indicates that the given connection attempted to connect to an APNs gateway, but failed.
|
void |
PushManager.handleConnectionSuccess(ApnsConnection<T> connection) |
void |
ApnsConnectionListener.handleConnectionSuccess(ApnsConnection<T> connection)
Indicates that the given connection successfully connected to an APNs gateway and is ready to send push
notifications.
|
void |
PushManager.handleConnectionWritabilityChange(ApnsConnection<T> connection,
boolean writable) |
void |
ApnsConnectionListener.handleConnectionWritabilityChange(ApnsConnection<T> connection,
boolean writable)
Indicates that the given connection has changed its writability state.
|
void |
PushManager.handleRejectedNotification(ApnsConnection<T> connection,
T rejectedNotification,
RejectedNotificationReason reason) |
void |
ApnsConnectionListener.handleRejectedNotification(ApnsConnection<T> connection,
T rejectedNotification,
RejectedNotificationReason reason)
Indicates that a notification sent via the given connection was definitively rejected by the APNs gateway.
|
void |
PushManager.handleUnprocessedNotifications(ApnsConnection<T> connection,
Collection<T> unprocessedNotifications) |
void |
ApnsConnectionListener.handleUnprocessedNotifications(ApnsConnection<T> connection,
Collection<T> unprocessedNotifications)
Indicates that notifications that had previously been sent to an APNs gateway by the given connection were not
processed by the gateway and should be sent again later.
|
void |
PushManager.handleWriteFailure(ApnsConnection<T> connection,
T notification,
Throwable cause) |
void |
ApnsConnectionListener.handleWriteFailure(ApnsConnection<T> connection,
T notification,
Throwable cause)
Indicates that the given connection failed to send a push notification to an APNs gateway.
|
Copyright © 2013–2015 RelayRides. All rights reserved.