package com.wecloud.im.router;

import com.wecloud.im.ws.service.MangerChannelService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@DubboService
public class RouterSendServiceImpl implements RouterSendService {

    @Autowired
    private MangerChannelService mangerChannelService;

    @Override
    public void rpcSend(String msg, String channelId) {
        mangerChannelService.writeDataToChannel(msg, channelId);
    }

}
