Package com.eatthepath.pushy.apns.server
Class AcceptAllPushNotificationHandlerFactory
java.lang.Object
com.eatthepath.pushy.apns.server.AcceptAllPushNotificationHandlerFactory
- All Implemented Interfaces:
PushNotificationHandlerFactory
public class AcceptAllPushNotificationHandlerFactory
extends Object
implements PushNotificationHandlerFactory
A factory for push notification handlers that unconditionally accept all push notifications.
- Since:
- 0.12
- Author:
- Jon Chambers
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildHandler
(SSLSession sslSession) Constructs a new push notification handler that unconditionally accepts all push notifications.
-
Constructor Details
-
AcceptAllPushNotificationHandlerFactory
public AcceptAllPushNotificationHandlerFactory()
-
-
Method Details
-
buildHandler
Constructs a new push notification handler that unconditionally accepts all push notifications.- Specified by:
buildHandler
in interfacePushNotificationHandlerFactory
- Parameters:
sslSession
- the SSL session associated with the channel for which this handler will handle notifications- Returns:
- a new "accept everything" push notification handler
-