package com.jsowell.netty.service.camera;

import com.alibaba.fastjson2.JSONObject;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;

import java.net.UnknownHostException;

/**
 * TODO
 *
 * @author Lemon
 * @Date 2023/12/20 15:15:26
 */
public interface CameraBusinessService {

    /**
     * 解析channel中的ip地址， 并将 sn 和 channelId 进行绑定，存入缓存
     * @param channel
     * @throws UnknownHostException
     */
    public void processConnectMsg(Channel channel) throws UnknownHostException;

}
