com.ibm.tivoli.maximo.pushnotification.apn

Class APNPushNotfHandler

  • java.lang.Object
    • com.ibm.tivoli.maximo.pushnotification.apn.APNPushNotfHandler


  • public class APNPushNotfHandler
    extends java.lang.Object
    • Field Detail

      • PUSHNOTFLOGGER

        public static final MXLogger PUSHNOTFLOGGER
    • Constructor Detail

      • APNPushNotfHandler

        public APNPushNotfHandler(NotificationMessage notificationMessage)
        Constructor
        Parameters:
        notificationMessage -
      • APNPushNotfHandler

        public APNPushNotfHandler()
    • Method Detail

      • setProviderCredentials

        public void setProviderCredentials(java.lang.String deviceType,
                                           byte[] certificateBytes,
                                           java.lang.String apnPassword,
                                           java.lang.String apnEndPointUrl)
        Set Provider Credentials.
        Parameters:
        apnCertificate -
        apnPassword -
        apnEndPointUrl -
        Throws:
        MXException
      • getHost

        public java.lang.String getHost()
        Gets the host name.
        Returns:
        hostname
        Throws:
        MXException
      • getConnectionPort

        public int getConnectionPort()
        Gets the connection port.
        Returns:
        Throws:
        MXException
      • invoke

        public void invoke()
                    throws MXException
        Post the notification to APNS.
        Parameters:
        metaData -
        data -
        Throws:
        MXException