Exemplo n.º 1
0
  public void startThread() {

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