/*
 * Created on Oct 31, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package de.tuberlin.polymake.common;

import java.io.BufferedReader;
import java.io.IOException;
import java.nio.channels.Pipe;

/**
 * @author wotzlaw
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public abstract class JavaviewControl extends PolymakeControl {
	
	protected BufferedReader psReader;
	protected EmbeddedGeometries geom;
	
	public JavaviewControl(BufferedReader psReader, BufferedReader clientReader, 
			Pipe.SinkChannel sink) throws IOException{
		
		super(psReader, clientReader, sink);
		this.psReader = psReader;
		
		this.geom = PolymakeJvxParser.parse(psReader);
		bbuf.putInt(1);
	}
}
