All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.envision.energy.connective.protobuf.AssetChangeRspProcessor Maven / Gradle / Ivy

There is a newer version: 3.0.3
Show newest version
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);

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy