use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.GetPushNotificationAlarmAsyncRequest in project open-smart-grid-platform by OSGP.
the class SmartMeteringConfigurationClient method getPushNotificationAlarm.
public GetPushNotificationAlarmResponse getPushNotificationAlarm() throws WebServiceSecurityException {
final Notification notification = this.waitForNotification(NotificationType.PUSH_NOTIFICATION_ALARM);
final GetPushNotificationAlarmAsyncRequest request = new GetPushNotificationAlarmAsyncRequest();
request.setCorrelationUid(notification.getCorrelationUid());
request.setDeviceIdentification(notification.getDeviceIdentification());
return (GetPushNotificationAlarmResponse) this.getTemplate().marshalSendAndReceive(request);
}
Aggregations