All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.webpieces.http2engine.impl.DataTry Maven / Gradle / Ivy

package com.webpieces.http2engine.impl;

import org.webpieces.util.futures.XFuture;

import com.webpieces.http2.api.dto.lowlevel.DataFrame;
import com.webpieces.http2engine.impl.shared.data.Stream;

public class DataTry {

	private Stream stream;
	private DataFrame dataFrame;
	private XFuture future;
	private boolean wasQueuedBefore;

	public DataTry(Stream stream, DataFrame dataFrame, XFuture future, boolean wasQueuedBefore) {
		this.stream = stream;
		this.dataFrame = dataFrame;
		this.future = future;
		this.setWasQueuedBefore(wasQueuedBefore);
	}

	public Stream getStream() {
		return stream;
	}

	public DataFrame getDataFrame() {
		return dataFrame;
	}

	public XFuture getFuture() {
		return future;
	}

	public boolean isWasQueuedBefore() {
		return wasQueuedBefore;
	}

	public void setWasQueuedBefore(boolean wasQueuedBefore) {
		this.wasQueuedBefore = wasQueuedBefore;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy