com.github.houbbbbb.sso.nt.Start Maven / Gradle / Ivy
The newest version!
package com.github.houbbbbb.sso.nt;
import com.github.houbbbbb.sso.nt.template.ClientTemplate;
import com.github.houbbbbb.sso.nt.template.ServerTemplate;
/**
* @author: hbw
* @date: 2020/7/8
**/
public class Start {
private Start() {}
/**
* 测试类
*/
static class ServerStarter {
public static void main(String[] args) {
new ServerTemplate(9990).run();
}
}
static class ClientStarter {
public static void main(String[] args) {
new ClientTemplate("127.0.0.1", 9990).run();
}
}
static class ClientStarter1 {
public static void main(String[] args) {
new ClientTemplate("127.0.0.1", 9990).run();
}
}
}