io.github.sinri.Dothan.DothanProxy.DothanTransferModeEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Dothan Show documentation
Show all versions of Dothan Show documentation
A light TCP proxy. You can take it as MySQL proxy, might also work for SSH.
The newest version!
package io.github.sinri.Dothan.DothanProxy;
public enum DothanTransferModeEnum {
PLAIN("PLAIN"),
ENCRYPT("ENCRYPT"),
DECRYPT("DECRYPT");
private String name;
// 定义一个带参数的构造器,枚举类的构造器只能使用 private 修饰
DothanTransferModeEnum(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy