class TimeoutInputStream extends FilterInputStream {

	@Override
	public int read() {
		waitFor(1);
		return super.read();
	}

	public  TimeoutInputStream(InputStream in, long timeout);
	public  TimeoutInputStream(InputStream in);

}