中央热水项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

//package com.mh.user.socket;
//
//import com.mh.user.netty.NettyClient;
//import com.mh.user.netty.NettyMeterClient;
//import lombok.extern.slf4j.Slf4j;
//import org.junit.jupiter.api.Test;
//import org.springframework.boot.test.context.SpringBootTest;
//
///**
// * @author ljf
// * @title :
// * @description :
// * @updateTime 2020-05-13
// * @throws :
// */
//@Slf4j
//@SpringBootTest
//public class NettyClientTest {
//
// @Test
// void Test() throws InterruptedException {
// NettyClient nettyClient = new NettyClient();
// nettyClient.connect(1008,"192.168.1.222");
//// Thread.sleep(5000);
//// nettyClient.connect(10100,"192.168.1.222");
// }
//
// @Test
// void Test1() throws InterruptedException {
// NettyClient nettyClient = new NettyClient();
// nettyClient.connect(8080,"192.168.2.10");
//// Thread.sleep(5000);
//// nettyClient.connect(10100,"192.168.1.222");
// }
//
//
// @Test
// void testMeterChillers() throws InterruptedException {
// NettyMeterClient nettyMeterClient = new NettyMeterClient();
// nettyMeterClient.connect(8080,"192.168.2.10");
//// nettyMeterClient.connect(9000,"192.168.2.54");
// }
//
//}