xin.alum.aim.constant.ChannelPlatform 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;
import lombok.Data;
/**
* @auther Alum(alum @ live.cn)
* @date 2021/8/6 10:33
*/
public enum ChannelPlatform {
NON("NoN", 0),
IOS("ios", 1),
ANDROID("android", 2),
WINDOWS("windows", 3),
MAC("mac", 4),
WEB("web", 5);
private String name;
private int value;
ChannelPlatform(String name, int value) {
this.name = name;
this.value = value;
}
}