Package joynr.types
Class ProviderQos
- java.lang.Object
-
- joynr.types.ProviderQos
-
- All Implemented Interfaces:
JoynrType,Serializable
public class ProviderQos extends Object implements Serializable, JoynrType
the provider quality of service settings- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intMAJOR_VERSIONstatic intMINOR_VERSION
-
Constructor Summary
Constructors Constructor Description ProviderQos()Default ConstructorProviderQos(CustomParameter[] customParameters, Long priority, ProviderScope scope, Boolean supportsOnChangeSubscriptions)Parameterized constructorProviderQos(ProviderQos providerQosObj)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Check for equalityCustomParameter[]getCustomParameters()Gets CustomParametersLonggetPriority()Gets PriorityProviderScopegetScope()Gets ScopeBooleangetSupportsOnChangeSubscriptions()Gets SupportsOnChangeSubscriptionsinthashCode()Calculate code for hashing based on member contentsvoidsetCustomParameters(CustomParameter[] customParameters)Sets CustomParametersvoidsetPriority(Long priority)Sets PriorityvoidsetScope(ProviderScope scope)Sets ScopevoidsetSupportsOnChangeSubscriptions(Boolean supportsOnChangeSubscriptions)Sets SupportsOnChangeSubscriptionsStringtoString()Stringifies the class
-
-
-
Field Detail
-
MAJOR_VERSION
public static final int MAJOR_VERSION
- See Also:
- Constant Field Values
-
MINOR_VERSION
public static final int MINOR_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProviderQos
public ProviderQos()
Default Constructor
-
ProviderQos
public ProviderQos(ProviderQos providerQosObj)
Copy constructor- Parameters:
providerQosObj- reference to the object to be copied
-
ProviderQos
public ProviderQos(CustomParameter[] customParameters, Long priority, ProviderScope scope, Boolean supportsOnChangeSubscriptions)
Parameterized constructor- Parameters:
customParameters- the list of Provider-Specific and InterfaceSpecific QoS Parameterspriority- the priority value of the provider used for discoveryscope- the scope of the provider (e.g. if it is to be used only with the local cluster controller)supportsOnChangeSubscriptions- true, if the provider supports onChangeSubscriptions, false otherwise
-
-
Method Detail
-
getCustomParameters
public CustomParameter[] getCustomParameters()
Gets CustomParameters- Returns:
- the list of Provider-Specific and InterfaceSpecific QoS Parameters
-
setCustomParameters
public void setCustomParameters(CustomParameter[] customParameters)
Sets CustomParameters- Parameters:
customParameters- the list of Provider-Specific and InterfaceSpecific QoS Parameters
-
getPriority
public Long getPriority()
Gets Priority- Returns:
- the priority value of the provider used for discovery
-
setPriority
public void setPriority(Long priority)
Sets Priority- Parameters:
priority- the priority value of the provider used for discovery
-
getScope
public ProviderScope getScope()
Gets Scope- Returns:
- the scope of the provider (e.g. if it is to be used only with the local cluster controller)
-
setScope
public void setScope(ProviderScope scope)
Sets Scope- Parameters:
scope- the scope of the provider (e.g. if it is to be used only with the local cluster controller)
-
getSupportsOnChangeSubscriptions
public Boolean getSupportsOnChangeSubscriptions()
Gets SupportsOnChangeSubscriptions- Returns:
- true, if the provider supports onChangeSubscriptions, false otherwise
-
setSupportsOnChangeSubscriptions
public void setSupportsOnChangeSubscriptions(Boolean supportsOnChangeSubscriptions)
Sets SupportsOnChangeSubscriptions- Parameters:
supportsOnChangeSubscriptions- true, if the provider supports onChangeSubscriptions, false otherwise
-
toString
public String toString()
Stringifies the class
-
equals
public boolean equals(Object obj)
Check for equality
-
-