Package voxo.client

Source Code of voxo.client.TestThreads

package voxo.client;

import voxo.client.threads.VoiceReceiver;
import voxo.client.threads.VoiceSender;

public class TestThreads {

  /**
   * @param args
   */
  public static void main(String[] args) {
    VoiceReceiver receiver = new VoiceReceiver();
    Thread t1 = new Thread(receiver);
    t1.start();
    try {
      Thread.sleep(3000);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
    VoiceSender sender = new VoiceSender("127.0.0.1")
    Thread t2 = new Thread(sender);
    t2.start();
   
  }

}
TOP

Related Classes of voxo.client.TestThreads

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.