|
@@ -294,10 +294,12 @@ public class YiTongGpsServerHandler extends HexBinaryAcceptanceHandlerAdapter {
|
|
|
}
|
|
|
}).option(ChannelOption.SO_BACKLOG, 128).childOption(ChannelOption.SO_KEEPALIVE, true);
|
|
|
ChannelFuture f = b.bind(port).sync();
|
|
|
+ logger.info("start accept service for {}, bind address {}:{}", this.getPrefixName(), this.getIp(),
|
|
|
+ this.getPort());
|
|
|
f.channel().closeFuture().sync();
|
|
|
|
|
|
} catch (InterruptedException e) {
|
|
|
- e.printStackTrace();
|
|
|
+ logger.error(e.getMessage());
|
|
|
} finally {
|
|
|
cleanRedisLinkData();
|
|
|
workerGroup.shutdownGracefully();
|