1078-优化点播

This commit is contained in:
648540858
2024-04-03 16:33:49 +08:00
parent 603ce18573
commit abc3766556
5 changed files with 68 additions and 18 deletions

View File

@@ -20,7 +20,11 @@ import io.netty.handler.timeout.IdleStateHandler;
import io.netty.util.concurrent.Future;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.stereotype.Component;
import java.util.concurrent.TimeUnit;
@@ -30,7 +34,8 @@ import java.util.concurrent.TimeUnit;
* @email qingtaij@163.com
*/
public class TcpServer {
public class TcpServer{
private final static Logger log = LoggerFactory.getLogger(TcpServer.class);
private final Integer port;