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

com.envision.energy.connective.protobuf.EventV2StrReqProcessor 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;

/**
 * @author yuanyuan.xia
 *
 * copy from EventStrReqProcessor
 */
public class EventV2StrReqProcessor implements IProtoProcessor {
    @Override
    public void receive(ChannelHandlerContext channelHandlerContext, Sdk.EventV2StrReq msg) {
        if(msg == null) {
            return;
        }

        ProxyManager.INSTANCE.msgToEventV2Proxy(msg);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy