package org.example.socket;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author zjb
 * @since 2023-12-11 10:35:00
 */
@Component
public class BootNettySocketServerThread extends Thread {
    private final int port = 8234;

    @Autowired
    private BootNettySocketServer bootNettySocketServer;

    public void run() {
        bootNettySocketServer.startup(this.port);
    }

}
