作者 crossoverJie

:bulb: Documenting source code.

... ... @@ -158,7 +158,7 @@ public class CIMClient {
.build();
ChannelFuture future = channel.writeAndFlush(login);
future.addListener((ChannelFutureListener) channelFuture ->
echoService.echo("registry cim server success!")
echoService.echo("Registry cim server success!")
);
}
... ...
... ... @@ -19,13 +19,13 @@ public enum StatusEnum {
FAIL("4000", "失败"),
/** 重复登录 */
REPEAT_LOGIN("5000", "账号重复登录,请退出一个账号!"),
REPEAT_LOGIN("5000", "Repeat login, log out an account please!"),
/** 账号不在线 */
OFF_LINE("7000", "你选择的账号不在线,请重新选择!"),
/** 登录信息不匹配 */
ACCOUNT_NOT_MATCH("9100", "登录信息不匹配!"),
ACCOUNT_NOT_MATCH("9100", "The User information you have used is incorrect!"),
/** 请求限流 */
REQUEST_LIMIT("6000", "请求限流"),
... ...
... ... @@ -17,7 +17,7 @@ public class RouteApplication implements CommandLineRunner{
public static void main(String[] args) {
SpringApplication.run(RouteApplication.class, args);
LOGGER.info("启动 route 成功");
LOGGER.info("Start cim route success!!!");
}
@Override
... ...
... ... @@ -28,7 +28,7 @@ public class CIMServerApplication implements CommandLineRunner{
public static void main(String[] args) {
SpringApplication.run(CIMServerApplication.class, args);
LOGGER.info("启动 Server 成功");
LOGGER.info("Start cim server success!!!");
}
@Override
... ...
... ... @@ -42,7 +42,7 @@ public class RegistryZK implements Runnable {
if (appConfiguration.isZkSwitch()){
String path = appConfiguration.getZkRoot() + "/ip-" + ip + ":" + cimServerPort + ":" + httpPort;
zKit.createNode(path);
logger.info("注册 zookeeper 成功,msg=[{}]", path);
logger.info("Registry zookeeper success, msg=[{}]", path);
}
... ...
... ... @@ -73,7 +73,7 @@ public class CIMServer {
public void destroy() {
boss.shutdownGracefully().syncUninterruptibly();
work.shutdownGracefully().syncUninterruptibly();
LOGGER.info("关闭 cim server 成功");
LOGGER.info("Close cim server success!!!");
}
... ...