QualityOfServiceSpec

public class QualityOfServiceSpec

Specification of desired quality of service settings for sending and receiving events. Specification given here are required “at least”. This means concrete port instances can implement “better” QoS specs without any notification to the clients. Better is decided by the integer value of the specification enums. Higher values mean better services.

Author

jwienke

Constructors

QualityOfServiceSpec

public QualityOfServiceSpec()

Default specs with Reliability.RELIABLE and Ordering.UNORDERED.

QualityOfServiceSpec

public QualityOfServiceSpec(Ordering ordering, Reliability reliability)

Constructor with specified settings.

Parameters
  • ordering – desired ordering

  • reliability – desired reliability

Methods

equals

public boolean equals(Object obj)

getOrdering

public Ordering getOrdering()

Returns the desired ordering setting.

Returns

requested ordering setting

getReliability

public Reliability getReliability()

Returns the desired reliability setting.

Returns

requested reliability setting

hashCode

public int hashCode()

toString

public String toString()