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

net.sf.jrtps.message.parameter.QosPolicy Maven / Gradle / Ivy

package net.sf.jrtps.message.parameter;

/**
 * An interface used to denote a Parameter as a Quality of Service policy
 * parameter.
 * 
 * @author mcr70
 * 
 */
public interface QosPolicy {
    /**
     * Checks, if this QosPolicy is compatible with other QosPolicy. 'this'
     * QosPolicy should be considered as 'offered' policy, and 'other' should be
     * considered as 'requested' policy.
     * 
     * @param requested
     *            Requested QosPolicy
     * @return true, if QosPolicy is compatible
     */
    public boolean isCompatible(T requested);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy