override fun appFrameCreated()

in robot-server-plugin/src/main/kotlin/com/intellij/remoterobot/RobotServerStarter.kt [13:22]


    override fun appFrameCreated(commandLineArgs: List<String>) {
        val serverHost = if (System.getProperty("robot-server.host.public")?.toBoolean() == true) {
                "0.0.0.0"
            } else {
                "127.0.0.1"
            }
        val serverPort = System.getProperty("robot-server.port")?.toIntOrNull() ?: 8580
        TextToKeyCache.init(javaClass.classLoader)
        RobotServerImpl(serverHost, serverPort) { IdeRobot(TextToKeyCache, RhinoJavaScriptExecutor(), LambdaLoader()) }.startServer()
    }