package com.dd.admin.business.webSocket.handler;

import com.dd.admin.business.webSocket.MsgHandlerInterface;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.tio.core.ChannelContext;

import java.util.Map;

@Component
@Slf4j
public class OfflineMessageHandler implements MsgHandlerInterface {
    @Override
    public Object handler(Map map, ChannelContext context ){
        log.info("进入点对点聊天方法");
        Map<String, String> mine = (Map) map.get("mine");
        Map<String, String> to = (Map) map.get("to");



        return null;
    }
}
