
com.iohao.game.bolt.broker.client.external.bootstrap.ExternalJoinEnum Maven / Gradle / Ivy
/*
* ioGame
* Copyright (C) 2021 - 2023 渔民小镇 ([email protected]、[email protected]) . All Rights Reserved.
* # iohao.com . 渔民小镇
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General License for more details.
*
* You should have received a copy of the GNU General License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
package com.iohao.game.bolt.broker.client.external.bootstrap;
import lombok.Getter;
import lombok.ToString;
/**
* 对外服的连接方式
*
* @author 渔民小镇
* @date 2022-01-13
*/
@ToString
public enum ExternalJoinEnum {
/** tcp socket */
TCP("tcp socket"),
/** websocket */
WEBSOCKET("websocket"),
/** udp socket 注意这个目前还没现实 */
UDP("udp socket"),
/**
* ext socket
*
* 特殊的预留扩展
*
*/
EXT_SOCKET("ext socket");
@Getter
final String name;
ExternalJoinEnum(String name) {
this.name = name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy