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

com.firefly.net.AbstractOutputEntry Maven / Gradle / Ivy

There is a newer version: 5.0.0-dev6
Show newest version
package com.firefly.net;

import com.firefly.utils.concurrent.Callback;

public abstract class AbstractOutputEntry implements OutputEntry {
	
	protected final Callback callback;
	protected final T data;

	public AbstractOutputEntry(Callback callback, T data) {
		this.callback = callback;
		this.data = data;
	}

	@Override
	public Callback getCallback() {
		return callback;
	}

	@Override
	public T getData() {
		return data;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy