@Override public void run() { try { client = LaunchClient.init(); } catch (IOException e) { e.printStackTrace(); } try { Thread.sleep(15 * 60 * 1000); } catch (InterruptedException e) { e.printStackTrace(); } // 15 minutes no shutdown coded yet. isRunning = false; }
public void send(String userInput) throws IOException { client.send(userInput); }