public class APNPushNotfHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PUSHNOTF_LOGGER |
static MXLogger |
PUSHNOTFLOGGER |
Constructor and Description |
---|
APNPushNotfHandler() |
APNPushNotfHandler(NotificationMessage notificationMessage)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getConnectionPort()
Gets the connection port.
|
java.lang.String |
getHost()
Gets the host name.
|
void |
invoke()
Post the notification to APNS.
|
void |
setProviderCredentials(java.lang.String deviceType,
byte[] certificateBytes,
java.lang.String apnPassword,
java.lang.String apnEndPointUrl)
Set Provider Credentials.
|
public static final java.lang.String PUSHNOTF_LOGGER
public static final MXLogger PUSHNOTFLOGGER
public APNPushNotfHandler(NotificationMessage notificationMessage)
notificationMessage
- public APNPushNotfHandler()
public void setProviderCredentials(java.lang.String deviceType, byte[] certificateBytes, java.lang.String apnPassword, java.lang.String apnEndPointUrl)
apnCertificate
- apnPassword
- apnEndPointUrl
- MXException
public java.lang.String getHost()
MXException
public int getConnectionPort()
MXException
public void invoke() throws MXException
metaData
- data
- MXException