use of org.opensmartgridplatform.dto.valueobjects.smartmetering.GMeterInfoDto in project open-smart-grid-platform by OSGP.
the class SetEncryptionKeyExchangeOnGMeterRequestMessageProcessor method handleMessage.
@Override
protected Serializable handleMessage(final DlmsConnectionManager conn, final DlmsDevice device, final Serializable requestObject, final MessageMetadata messageMetadata) throws OsgpException {
this.assertRequestObjectType(GMeterInfoDto.class, requestObject);
final GMeterInfoDto gMeterInfo = (GMeterInfoDto) requestObject;
return this.configurationService.setEncryptionKeyExchangeOnGMeter(conn, device, gMeterInfo, messageMetadata);
}
Aggregations