riku
2021-11-22 316bb4380e276a0b9e2745ad126a5c6c0e4b221d
src/main/kotlin/com/flightfeather/uav/UAVApplication.kt
@@ -18,12 +18,10 @@
    @Autowired
    lateinit var electricProcessor: ElectricProcessor
    private val socketServer = UnderwaySocketServer()
    @Bean
    fun runner() = ApplicationRunner{
        socketServer.startUnderwayServer(9030, underwayProcessor)
        socketServer.startElectricServer(9009, electricProcessor)
        UnderwaySocketServer().startUnderwayServer(9030, underwayProcessor)
        UnderwaySocketServer().startElectricServer(9009, electricProcessor)
    }
}