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 Details

    • AcceptAllPushNotificationHandlerFactory

      public AcceptAllPushNotificationHandlerFactory()
  • Method Details

    • buildHandler

      public PushNotificationHandler buildHandler(SSLSession sslSession)
      Constructs a new push notification handler that unconditionally accepts all push notifications.
      Specified by:
      buildHandler in interface PushNotificationHandlerFactory
      Parameters:
      sslSession - the SSL session associated with the channel for which this handler will handle notifications
      Returns:
      a new "accept everything" push notification handler