com.envision.energy.connective.protobuf.AssetChangeRspProcessor Maven / Gradle / Ivy
package com.envision.energy.connective.protobuf;
import com.envision.energy.connective.common.IProtoProcessor;
import com.envision.energy.connective.protobuf.generated.Sdk;
import com.envision.energy.eos.sdk.ProxyManager;
import io.netty.channel.ChannelHandlerContext;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
/**
* @author zhensheng.cai
*/
public class AssetChangeRspProcessor implements IProtoProcessor {
@Override
public void receive(ChannelHandlerContext channelHandlerContext, Sdk.AssetChangeRsp assetChangeRsp) {
if(assetChangeRsp ==null ){
return;
}
ProxyManager.INSTANCE.msgToAssetProxy(assetChangeRsp);
}
}