mirror of https://github.com/iohao/iogame.git
🐳 新增逻辑服、工具相关模块的 javadoc。
This commit is contained in:
parent
39b3dbf75f
commit
158d5180fc
|
@ -17,7 +17,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 一个比java 反射更好的工具
|
||||
* 工具相关 - asm
|
||||
* <pre>
|
||||
* 使用示例:
|
||||
* ClassRefInfo classRefInfo = ClassRefInfoKit.getClassRefInfo(Your.class);
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
package com.iohao.game.common.kit.io;
|
||||
|
||||
import com.iohao.game.common.kit.hutool.AdapterHuUtils;
|
||||
import com.iohao.game.common.kit.adapter.AdapterHuUtils;
|
||||
import lombok.experimental.UtilityClass;
|
||||
|
||||
import java.io.File;
|
||||
|
@ -31,9 +31,9 @@ import java.io.File;
|
|||
public class FileKit {
|
||||
/**
|
||||
* 创建文件夹,如果存在直接返回此文件夹<br>
|
||||
* 此方法不对File对象类型做判断,如果File不存在,无法判断其类型
|
||||
* 此方法不对 File 对象类型做判断,如果 File 不存在,无法判断其类型
|
||||
*
|
||||
* @param dirPath 文件夹路径,使用POSIX格式,无论哪个平台
|
||||
* @param dirPath 文件夹路径,使用 POSIX 格式,无论哪个平台
|
||||
* @return 创建的目录
|
||||
*/
|
||||
public File mkdir(String dirPath) {
|
||||
|
@ -41,9 +41,9 @@ public class FileKit {
|
|||
}
|
||||
|
||||
/**
|
||||
* 创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
|
||||
* 创建 File 对象,自动识别相对或绝对路径,相对路径将自动从 ClassPath 下寻找
|
||||
*
|
||||
* @param path 相对ClassPath的目录或者绝对路径目录
|
||||
* @param path 相对 ClassPath 的目录或者绝对路径目录
|
||||
* @return File
|
||||
*/
|
||||
public File file(String path) {
|
||||
|
@ -62,20 +62,20 @@ public class FileKit {
|
|||
}
|
||||
|
||||
/**
|
||||
* 判断是否为目录,如果path为null,则返回false
|
||||
* 判断是否为目录,如果 path 为 null,则返回 false
|
||||
*
|
||||
* @param path 文件路径
|
||||
* @return 如果为目录true
|
||||
* @return 如果为目录 true
|
||||
*/
|
||||
public boolean isDirectory(String path) {
|
||||
return AdapterHuUtils.isDirectory(path);
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断文件是否存在,如果file为null,则返回false
|
||||
* 判断文件是否存在,如果 file 为 null,则返回 false
|
||||
*
|
||||
* @param file 文件
|
||||
* @return 如果存在返回true
|
||||
* @return 如果存在返回 true
|
||||
*/
|
||||
public static boolean exist(File file) {
|
||||
return AdapterHuUtils.exist(file);
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
package com.iohao.game.common.kit.io;
|
||||
|
||||
import com.iohao.game.common.kit.hutool.AdapterHuUtils;
|
||||
import com.iohao.game.common.kit.adapter.AdapterHuUtils;
|
||||
import lombok.experimental.UtilityClass;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 工具相关 - io
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.kit.io;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 工具相关 - system
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.kit.system;
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
package com.iohao.game.common.kit;
|
||||
|
||||
import com.iohao.game.common.kit.hutool.AdapterHuUtils;
|
||||
import com.iohao.game.common.kit.adapter.AdapterHuUtils;
|
||||
import lombok.NonNull;
|
||||
import lombok.experimental.UtilityClass;
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 动态属性
|
||||
* 工具相关 - <a href="https://www.yuque.com/iohao/game/uqn84q41f58xe5f0">动态属性</a>
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2022-01-02
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 属性值变更监听特性,属性可添加监听器,当某些属性值的发生变化时,触发监听器。
|
||||
* 工具相关 - <a href="https://www.yuque.com/iohao/game/uqn84q41f58xe5f0">属性值变更监听</a>特性,属性可添加监听器,当某些属性值的发生变化时,触发监听器。
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-04-17
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 提供 MultiMap 结构,ListMultiMap、SetMultiMap。
|
||||
* 工具相关 - 提供线程安全的多集合结构 MultiMap、ListMultiMap、SetMultiMap。
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-06-04
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 线程执行器:用户线程执行器、用户虚拟线程执行器、简单的线程执行器管理域
|
||||
* 工具相关 - <a href="https://www.yuque.com/iohao/game/eixd6x">ioGame 线程相关</a>的线程执行器:用户线程执行器、用户虚拟线程执行器、简单的线程执行器管理域。
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-06-01
|
||||
|
|
|
@ -17,7 +17,12 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 线程执行器,任务监听回调、单次任务、延时任务、任务调度、轻量可控的延时任务、轻量的定时入库辅助功能
|
||||
* 工具相关 - 线程执行器,任务监听回调、单次任务、延时任务、任务调度、轻量可控的延时任务、轻量的定时入库辅助功能。
|
||||
* <p>
|
||||
* 相关文档
|
||||
* <pre>
|
||||
* <a href="https://www.yuque.com/iohao/game/gzsl8pg0si1l4bu3">TaskKit 任务相关</a>
|
||||
* </pre>
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-06-01
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 工具相关 - 内置的异常类(实验性工具,仅限内部使用)。
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.kit.exception;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 工具相关 - id 生成
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.kit.id;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 工具相关 -(实验性工具,仅限内部使用)
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.kit.micro.room;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 工具相关 - Trace 相关工具,相关参考<a href="https://www.yuque.com/iohao/game/zurusq">全链路调用日志跟踪</a>。
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.kit.trace;
|
|
@ -17,7 +17,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 权重相关工具
|
||||
* 工具相关 - 权重相关工具
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2022-01-02
|
||||
|
|
|
@ -112,7 +112,7 @@ public class Validation {
|
|||
}
|
||||
|
||||
/**
|
||||
* 获取数据校验器的package
|
||||
* 获取数据校验器的 package
|
||||
*
|
||||
* @return packageName;
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* JSR380 - annotation
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.validation.annotation;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* JSR380 - Java Bean Validation,<a href="https://www.yuque.com/iohao/game/ghng6g">开启 JSR380 验证规范</a>
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.validation;
|
|
@ -31,9 +31,9 @@ import java.io.Writer;
|
|||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* 在META-INF 生成 ioGame/com.iohao.game.common.validation.Validator 用于游戏服务支持 javax.validation
|
||||
* 在 META-INF 生成 ioGame/com.iohao.game.common.validation.Validator 用于游戏服务支持 javax.validation
|
||||
* 使用示例:
|
||||
* 在DemoApplication 上加入注解:@EnableValidation("com.iohao.game.common.validation.support.JakartaValidator")
|
||||
* 在 DemoApplication 上加入注解:@EnableValidation("com.iohao.game.common.validation.support.JakartaValidator")
|
||||
*
|
||||
* @author shenjk
|
||||
* @date 2022-09-26
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* JSR380 - processor
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.validation.processor;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* JSR380 - 实现类
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.validation.support;
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 逻辑服,逻辑服通常指的是游戏对外服和游戏逻辑服。
|
||||
* <p>
|
||||
* 相关文档介绍
|
||||
* <pre>
|
||||
* <a href="https://www.yuque.com/iohao/game/wotnhl">游戏对外服</a>
|
||||
* <a href="https://www.yuque.com/iohao/game/ensevx">游戏逻辑服</a>
|
||||
* </pre>
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.bolt.broker.client;
|
|
@ -16,7 +16,7 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.iohao.game.bolt.broker.client.action.skeleton;
|
||||
package com.iohao.game.bolt.broker.client.processor;
|
||||
|
||||
import com.alipay.remoting.AsyncContext;
|
||||
import com.iohao.game.action.skeleton.core.commumication.ChannelContext;
|
|
@ -26,7 +26,6 @@ import com.iohao.game.action.skeleton.core.flow.FlowContext;
|
|||
import com.iohao.game.action.skeleton.core.flow.FlowContextKit;
|
||||
import com.iohao.game.action.skeleton.core.flow.attr.FlowAttr;
|
||||
import com.iohao.game.action.skeleton.protocol.RequestMessage;
|
||||
import com.iohao.game.bolt.broker.client.action.skeleton.BoltChannelContext;
|
||||
import com.iohao.game.bolt.broker.core.aware.BrokerClientAware;
|
||||
import com.iohao.game.bolt.broker.core.aware.UserProcessorExecutorSelectorAware;
|
||||
import com.iohao.game.bolt.broker.core.client.BrokerClient;
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 逻辑服 - ConnectionEventProcessor 是逻辑服连接相关的消息处理器
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.bolt.broker.client.processor.connection;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 逻辑服 - processor 用于接收 Broker(游戏网关)的消息处理器。
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.bolt.broker.client.processor;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 逻辑服 - 工具包
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.bolt.broker.client.kit;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import lombok.NonNull;
|
||||
import lombok.experimental.UtilityClass;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.util.function.Supplier;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
/**
|
||||
* @author 渔民小镇
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.Serial;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.nio.charset.Charset;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.net.URL;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.net.URL;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.NoSuchElementException;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.file.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
/**
|
||||
* @author 渔民小镇
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.OutputStream;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
/**
|
||||
* @author 渔民小镇
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.File;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
/**
|
||||
* @author 渔民小镇
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
/**
|
||||
* @author 渔民小镇
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
/**
|
||||
* @author 渔民小镇
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.Serial;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.Serial;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.util.Objects;
|
||||
import java.util.function.Supplier;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.IOException;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.charset.Charset;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.net.URL;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
/**
|
||||
* @author 渔民小镇
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.util.Map;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.nio.ByteBuffer;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.File;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
|
@ -1,4 +1,4 @@
|
|||
package com.iohao.game.common.kit.hutool;
|
||||
package com.iohao.game.common.kit.adapter;
|
||||
|
||||
|
||||
import java.io.Serial;
|
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* ioGame
|
||||
* Copyright (C) 2021 - present 渔民小镇 (262610965@qq.com、luoyizhu@gmail.com) . All Rights Reserved.
|
||||
* # iohao.com . 渔民小镇
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* 工具相关 - 临时适配的工具
|
||||
*
|
||||
* @author 渔民小镇
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
package com.iohao.game.common.kit.adapter;
|
Loading…
Reference in New Issue