+/EE360P

distributed systems

git clone https://git.julia.blue/+/EE360P

vijaygarg1init7910ba6

master
446 B24 linesraw
1package snapshot;
2import dist.*;
3
4public class CameraTester {
5	public static void main(String[] args) throws Exception {
6		
7		int myId = Integer.parseInt(args[1]);
8		
9		Camera camera = null;
10		CamCircToken sp = null;
11
12		Linker comm = new Linker(args);
13		
14		if (args[3].equals("RecvCamera")) {
15			camera = new RecvCamera(comm);
16			
17			sp = new CamCircToken(camera);
18			
19		}
20        sp.init(null);
21		//if (myId == 0) 
22			camera.globalState();
23	}
24}