Package | Description |
---|---|
com.turo.pushy.apns.server |
Contains classes and interfaces for working with mock APNs servers.
|
Modifier and Type | Method and Description |
---|---|
static RejectionReason |
RejectionReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RejectionReason[] |
RejectionReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ParsingMockApnsServerListenerAdapter.handlePushNotificationRejected(ApnsPushNotification pushNotification,
RejectionReason rejectionReason,
Date deviceTokenExpirationTimestamp)
Handles a parsed push notification accepted by a mock server.
|
void |
ParsingMockApnsServerListenerAdapter.handlePushNotificationRejected(Http2Headers headers,
ByteBuf payload,
RejectionReason rejectionReason,
Date deviceTokenExpirationTimestamp)
Parses a push notification rejected by a mock APNs server into an
ApnsPushNotification instance for
further processing by
ParsingMockApnsServerListenerAdapter.handlePushNotificationRejected(ApnsPushNotification, RejectionReason, Date) . |
void |
MockApnsServerListener.handlePushNotificationRejected(Http2Headers headers,
ByteBuf payload,
RejectionReason rejectionReason,
Date deviceTokenExpirationTimestamp)
Indicates that a push notification has been rejected by the mock server.
|
Constructor and Description |
---|
RejectedNotificationException(RejectionReason rejectionReason,
UUID apnsId)
Constructs a new rejected notification exception with the given rejection reason and notification identifier.
|
Copyright © 2013–2018 Turo. All rights reserved.