|
|
|
@ -69,6 +69,7 @@ public class OperationReply {
|
|
|
|
|
this.syncmlDocument = syncmlDocument;
|
|
|
|
|
replySyncmlDocument = new SyncmlDocument();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public OperationReply() {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -228,8 +229,8 @@ public class OperationReply {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void appendOperations(SyncmlBody syncmlBody) throws PolicyManagementException,
|
|
|
|
|
FeatureManagementException, JSONException,
|
|
|
|
|
SyncmlOperationException {
|
|
|
|
|
FeatureManagementException, JSONException, SyncmlOperationException {
|
|
|
|
|
|
|
|
|
|
GetTag getElement = new GetTag();
|
|
|
|
|
List<ItemTag> getElements = new ArrayList<>();
|
|
|
|
|
List<ExecuteTag> executeElements = new ArrayList<>();
|
|
|
|
@ -238,6 +239,7 @@ public class OperationReply {
|
|
|
|
|
ReplaceTag replaceElement = new ReplaceTag();
|
|
|
|
|
List<ItemTag> replaceItems = new ArrayList<>();
|
|
|
|
|
SequenceTag monitorSequence = new SequenceTag();
|
|
|
|
|
List<Operation> deviceInfoOperations;
|
|
|
|
|
|
|
|
|
|
if (operations != null) {
|
|
|
|
|
for (Operation operation : operations) {
|
|
|
|
@ -317,6 +319,14 @@ public class OperationReply {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (PluginConstants.OperationCodes.DEVICE_INFO.equals(operation.getCode())) {
|
|
|
|
|
HeartBeatDeviceInfo heartBeatDeviceInfo = new HeartBeatDeviceInfo();
|
|
|
|
|
deviceInfoOperations = heartBeatDeviceInfo.getDeviceInfo();
|
|
|
|
|
for (int x = 0; x > deviceInfoOperations.size(); x++) {
|
|
|
|
|
ItemTag deviceInfo = appendGetInfo(operation);
|
|
|
|
|
getElements.add(deviceInfo);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|