All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.sinri.Dothan.DothanProxy.DothanTransferModeEnum Maven / Gradle / Ivy

Go to download

A light TCP proxy. You can take it as MySQL proxy, might also work for SSH.

There is a newer version: 6.0.1
Show 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