public void startThread() {

    isContinueListen = true;
    handleDataThread = new HandleDataThread();
    handleDataThread.start();
    receiveThread = new ReceiveThread();
    receiveThread.start();
  }
Exemple #2
0
 /** Start the listener/dispatch thread */
 public void start() {
   assert (receiveThread == null);
   receiveThread = new ReceiveThread();
   receiveThread.start();
 }