package de.tud.kom.p2psim.api.application;

/**
 * The workload items which should be generated by a {@link WorkloadGenerator}.
 * More or less just a wrapper to pass a specific request to the {@link WorkloadListener}s.
 */
public class WorkloadItem<T>
{
    private T content;

    public WorkloadItem(T content)
    {
        this.content = content;
    }

    /**
     * Returns the content of this workload item
     * @return the content
     */
    public T getContent()
    {
        return content;
    }
}
