public class SyncmlServiceImpl extends Object implements SyncmlService
Constructor and Description |
---|
SyncmlServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
generateReply(SyncmlDocument syncmlDocument,
List<? extends org.wso2.carbon.device.mgt.common.operation.mgt.Operation> operations)
Generate Device payloads.
|
javax.ws.rs.core.Response |
getResponse(Document request)
Method for calling SyncML engine for producing the Syncml response.
|
public javax.ws.rs.core.Response getResponse(Document request) throws WindowsDeviceEnrolmentException, WindowsOperationException, org.wso2.carbon.device.mgt.common.notification.mgt.NotificationManagementException, WindowsConfigurationException
getResponse
in interface SyncmlService
request
- - SyncML requestWindowsOperationException
WindowsDeviceEnrolmentException
org.wso2.carbon.device.mgt.common.notification.mgt.NotificationManagementException
WindowsConfigurationException
public String generateReply(SyncmlDocument syncmlDocument, List<? extends org.wso2.carbon.device.mgt.common.operation.mgt.Operation> operations) throws SyncmlMessageFormatException, SyncmlOperationException
syncmlDocument
- Parsed syncml payload from the syncml engine.operations
- Operations for generate payload.WindowsOperationException
org.wso2.carbon.policy.mgt.common.PolicyManagementException
org.wso2.carbon.policy.mgt.common.FeatureManagementException
SyncmlMessageFormatException
SyncmlOperationException
Copyright © 2017 WSO2. All rights reserved.