com.github.unclecatmyself.bootstrap.channel.http.HttpChannelService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of InChat Show documentation
Show all versions of InChat Show documentation
A lightweight, efficient communication framework that supports chat and the Internet of Things
The newest version!
package com.github.unclecatmyself.bootstrap.channel.http;
import com.github.unclecatmyself.common.bean.SendInChat;
import com.github.unclecatmyself.common.bean.vo.SendServerVO;
import io.netty.channel.Channel;
import io.netty.channel.ChannelConfig;
import io.netty.handler.codec.http.websocketx.TextWebSocketFrame;
import java.util.Map;
/**
* Create by UncleCatMySelf in 11:41 2018\12\31 0031
*/
public interface HttpChannelService {
void getSize(Channel channel);
void sendFromServer(Channel channel,SendServerVO serverVO);
void notFindUri(Channel channel);
void close(Channel channel);
void getList(Channel channel);
void sendInChat(String token, Map msg);
void sendByInChat(Channel channel,SendInChat sendInChat);
}