Commit 3208d1ba authored by duanruiming's avatar duanruiming

[update] 优化海信netty启动地址接口

parent fe28805d
package net.wanji.utc.hisense; package net.wanji.utc.hisense;
import net.wanji.utc.hisense.netty.TcpClient;
import org.mybatis.spring.annotation.MapperScan; import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner; import org.springframework.boot.CommandLineRunner;
...@@ -33,6 +32,7 @@ public class HisenseApplication implements CommandLineRunner { ...@@ -33,6 +32,7 @@ public class HisenseApplication implements CommandLineRunner {
@Override @Override
public void run(String... args) throws Exception { public void run(String... args) throws Exception {
//UdpClient.connection(localPort, remoteProt); //UdpClient.connection(localPort, remoteProt);
TcpClient.connection(remoteIp, remoteProt); //TcpClient.connection(remoteIp, remoteProt);
//TcpClient.connection("127.0.0.1", remoteProt);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment