public class XMPPNotificationStrategy extends Object implements org.wso2.carbon.device.mgt.common.push.notification.NotificationStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
XMPP_CLIENT_MESSAGE_TYPE |
| Constructor and Description |
|---|
XMPPNotificationStrategy(org.wso2.carbon.device.mgt.common.push.notification.PushNotificationConfig config) |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.carbon.device.mgt.common.push.notification.NotificationContext |
buildContext() |
void |
execute(org.wso2.carbon.device.mgt.common.push.notification.NotificationContext ctx) |
org.wso2.carbon.device.mgt.common.push.notification.PushNotificationConfig |
getConfig() |
void |
init() |
void |
undeploy() |
public static final String XMPP_CLIENT_MESSAGE_TYPE
public XMPPNotificationStrategy(org.wso2.carbon.device.mgt.common.push.notification.PushNotificationConfig config)
public void init()
init in interface org.wso2.carbon.device.mgt.common.push.notification.NotificationStrategypublic void execute(org.wso2.carbon.device.mgt.common.push.notification.NotificationContext ctx)
throws org.wso2.carbon.device.mgt.common.push.notification.PushNotificationExecutionFailedException
execute in interface org.wso2.carbon.device.mgt.common.push.notification.NotificationStrategyorg.wso2.carbon.device.mgt.common.push.notification.PushNotificationExecutionFailedExceptionpublic org.wso2.carbon.device.mgt.common.push.notification.NotificationContext buildContext()
buildContext in interface org.wso2.carbon.device.mgt.common.push.notification.NotificationStrategypublic void undeploy()
undeploy in interface org.wso2.carbon.device.mgt.common.push.notification.NotificationStrategypublic org.wso2.carbon.device.mgt.common.push.notification.PushNotificationConfig getConfig()
getConfig in interface org.wso2.carbon.device.mgt.common.push.notification.NotificationStrategyCopyright © 2017 WSO2. All rights reserved.