xin.alum.aim.constant.ChannelClose Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aim-starter Show documentation
Show all versions of aim-starter Show documentation
aim-starter 基于netty的WebSocket和Socket通信包
package xin.alum.aim.constant;
/**
* 道通关闭类型
*
* @auther Alum(alum @ live.cn)
* @date 2021/8/6 10:33
*/
public enum ChannelClose {
HEARTBEAT("HEARTBEAT", 0),
EXCEPTION("EXCEPTION", 1),
CLOSE("CLOSE", 2);
private String name;
private int value;
ChannelClose(String name, int value) {
this.name = name;
this.value = value;
}
}