public void update(LineEvent status){
		LineEvent.Type type = status.getType();
		if(type == LineEvent.Type.OPEN){
			System.out.println("OPEN");
		}
		else if(type == LineEvent.Type.CLOSE){
			System.out.println("CLOSE");
			System.exit(0);
		}
		if(type == LineEvent.Type.START){
			System.out.println("START");
		}
		if(type == LineEvent.Type.STOP){
			System.out.println("STOP");
			line.close();
		}
	}