Package com.eatthepath.pushy.apns.server
Interface PushNotificationHandlerFactory
- All Known Implementing Classes:
AcceptAllPushNotificationHandlerFactory
,ValidatingPushNotificationHandlerFactory
public interface PushNotificationHandlerFactory
A push notification handler factory constructs
PushNotificationHandler
instances when a mock APNs server
accepts a new connection. Handlers created by the factory control how the server responds to the push notifications
it receives.- Since:
- 0.12
-
Method Summary
Modifier and TypeMethodDescriptionbuildHandler
(SSLSession sslSession) Constructs a new push notification handler that will process notifications from a single connection to a mock server.
-
Method Details
-
buildHandler
Constructs a new push notification handler that will process notifications from a single connection to a mock server.- Parameters:
sslSession
- the SSL session for the new connection to the mock server- Returns:
- a new push notification handler for the new connection
-