package com.wecloud.im.router;

import com.wecloud.im.ws.sender.ChannelSender;
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 ChannelSender channelSender;

    @Override
    public void sendMsgRemote(String channelId, String msg) {
        channelSender.sendMsgLocal(channelId, msg);
    }

}
