com.envision.energy.connective.protobuf.AlertStrReqProcessor Maven / Gradle / Ivy
package com.envision.energy.connective.protobuf;
import io.netty.channel.ChannelHandlerContext;
import com.envision.energy.connective.common.IProtoProcessor;
import com.envision.energy.connective.protobuf.generated.Sdk.AlertStrReq;
import com.envision.energy.eos.sdk.ProxyManager;
public class AlertStrReqProcessor implements IProtoProcessor {
@Override
public void receive(ChannelHandlerContext ctx, AlertStrReq msg) {
if(msg == null) {
return;
}
ProxyManager.INSTANCE.msgToAlarmProxy(msg);
}
}