You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
misp/mispmock/src/Main.java

32 lines
726 B

public class Main {
public static void main(String... args){
MockSet mockSet = new MockSet();
Runnable publicRunnable = new PublicMock(mockSet);
Runnable bridgeRunable = new BridgeRunnable(mockSet);
Runnable clientRunnable = new ClientRunnable(mockSet);
Runnable appRunnable = new AppMock(mockSet);
Thread publicThread = new Thread(publicRunnable);
Thread bridgeThread = new Thread(bridgeRunable);
Thread clientThread = new Thread(clientRunnable);
Thread appThread = new Thread(appRunnable);
publicThread.start();
bridgeThread.start();
clientThread.start();
appThread.start();
int br =0;
}
}