package com.xueyi.message.transfer.service;

import com.corundumstudio.socketio.SocketIOClient;
import com.xueyi.message.api.transfer.domain.vo.Message;

import java.util.Collection;
import java.util.List;

public interface IMessageQueueService {

//    public List<Message> getAll();
//
//    public boolean add(Message message);

    public void broadcast(String channel, String message);

    public Collection<SocketIOClient> getAllClients();

}
