List of usage examples for java.lang Thread subclass-usage
From source file Main.java
public class Main extends Thread { private ServerSocket serverSocket; public Main() throws IOException { serverSocket = new ServerSocket(); serverSocket.setSoTimeout(10000);
From source file Main.java
public class Main extends Thread { private ServerSocket serverSocket; public Main() throws IOException { serverSocket = new ServerSocket(); serverSocket.setSoTimeout(10000);
From source file Main.java
class MyThread extends Thread { MyThread(ThreadGroup tg, String name) { super(tg, name); } public void run() {
From source file Main.java
public class Main extends Thread { Process ps = null; public Main() throws Exception { ps = Runtime.getRuntime().exec("java Test"); }
From source file ThreadGroupDemo1.java
class MyThread extends Thread { MyThread(ThreadGroup tg, String name) { super(tg, name); } public void run() {
From source file Main.java
public class Main extends Thread { private ServerSocket serverSocket; public Main() throws IOException { serverSocket = new ServerSocket(8008); serverSocket.setSoTimeout(10000);
From source file SimpleDaemons.java
public class SimpleDaemons extends Thread { public SimpleDaemons() { setDaemon(true); // Must be called before start() start(); }
From source file TimeServer.java
public class TimeServer extends Thread { private ServerSocket sock; public TimeServer() throws Exception { sock = new ServerSocket(55555); }
From source file SleepingThread.java
public class SleepingThread extends Thread { private int countDown = 5; private static int threadCount = 0;
From source file MainClass.java
public class MainClass extends Thread { public MainClass() throws IOException { } public void run() { try {