Package com.eatthepath.pushy.apns.server
Interface PushNotificationHandlerFactory
-
- All Known Implementing Classes:
AcceptAllPushNotificationHandlerFactory
,ValidatingPushNotificationHandlerFactory
public interface PushNotificationHandlerFactory
A push notification handler factory constructsPushNotificationHandler
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 Type Method Description PushNotificationHandler
buildHandler(SSLSession sslSession)
Constructs a new push notification handler that will process notifications from a single connection to a mock server.
-
-
-
Method Detail
-
buildHandler
PushNotificationHandler buildHandler(SSLSession sslSession)
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
-
-