示例#1
0
    @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;
    }
示例#2
0
    public void send(String userInput) throws IOException {

      client.send(userInput);
    }