public interface ServerLifecycle extends ServerLifecycle
void start(java.lang.String host,
int port)
throws java.lang.Throwable
start 在接口中 ServerLifecyclehost - 主机(ip)port - 端口java.lang.Throwablevoid stop() throws java.lang.Throwable
stop 在接口中 ServerLifecyclejava.lang.Throwable