mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-05 10:29:56 +08:00
cleanup code
This commit is contained in:
@@ -70,7 +70,7 @@ public abstract class ProtocolBootstrap implements HealthIndicator {
|
|||||||
|
|
||||||
if (tcpCfg != null) {
|
if (tcpCfg != null) {
|
||||||
|
|
||||||
listener = new TcpListener<>(protocolName, tcpCfg, messageProcessor(), protocolContext.getStatsFactory());
|
listener = new TcpListener(protocolName, tcpCfg, messageProcessor(), protocolContext.getStatsFactory());
|
||||||
}
|
}
|
||||||
|
|
||||||
_init();
|
_init();
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import sanbing.jcpp.protocol.listener.Listener;
|
|||||||
* @author baigod
|
* @author baigod
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class TcpListener<T> extends Listener {
|
public class TcpListener extends Listener {
|
||||||
|
|
||||||
private Channel serverChannel;
|
private Channel serverChannel;
|
||||||
private EventLoopGroup bossGroup;
|
private EventLoopGroup bossGroup;
|
||||||
|
|||||||
Reference in New Issue
Block a user