Skip to content

Commit a7c172b

Browse files
committed
添加 motan rpc框架支持
1 parent 9b9ee4f commit a7c172b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tx-client/src/main/java/com/codingapi/tx/netty/handler/TransactionHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public void channelActive(ChannelHandlerContext ctx) throws Exception {
7575
logger.info("try connection -->" + ctx);
7676

7777
nettyControlService.uploadModelInfo();
78+
7879
//通道激活后进行心跳检查
7980
SocketUtils.sendMsg(ctx, heartJson);
8081
}
@@ -85,7 +86,7 @@ public void channelActive(ChannelHandlerContext ctx) throws Exception {
8586
*
8687
* @param ctx
8788
* @param evt
88-
* @throws Exception
89+
* @throws Exception 异常数据
8990
*/
9091
@Override
9192
public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {

0 commit comments

Comments
 (0)