public class ProviderQos extends Object implements Serializable, JoynrType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
ProviderQos()
Default Constructor
|
ProviderQos(CustomParameter[] customParameters,
Long priority,
ProviderScope scope,
Boolean supportsOnChangeSubscriptions)
Parameterized constructor
|
ProviderQos(ProviderQos providerQosObj)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
CustomParameter[] |
getCustomParameters()
Gets CustomParameters
|
Long |
getPriority()
Gets Priority
|
ProviderScope |
getScope()
Gets Scope
|
Boolean |
getSupportsOnChangeSubscriptions()
Gets SupportsOnChangeSubscriptions
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setCustomParameters(CustomParameter[] customParameters)
Sets CustomParameters
|
void |
setPriority(Long priority)
Sets Priority
|
void |
setScope(ProviderScope scope)
Sets Scope
|
void |
setSupportsOnChangeSubscriptions(Boolean supportsOnChangeSubscriptions)
Sets SupportsOnChangeSubscriptions
|
String |
toString()
Stringifies the class
|
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public ProviderQos()
public ProviderQos(ProviderQos providerQosObj)
providerQosObj - reference to the object to be copiedpublic ProviderQos(CustomParameter[] customParameters, Long priority, ProviderScope scope, Boolean supportsOnChangeSubscriptions)
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 otherwisepublic CustomParameter[] getCustomParameters()
public void setCustomParameters(CustomParameter[] customParameters)
customParameters - the list of Provider-Specific and InterfaceSpecific QoS Parameterspublic Long getPriority()
public void setPriority(Long priority)
priority - the priority value of the provider used for discoverypublic ProviderScope getScope()
public void setScope(ProviderScope scope)
scope - the scope of the provider (e.g. if it is to be used only with the local cluster controller)public Boolean getSupportsOnChangeSubscriptions()
public void setSupportsOnChangeSubscriptions(Boolean supportsOnChangeSubscriptions)
supportsOnChangeSubscriptions - true, if the provider supports onChangeSubscriptions, false otherwisepublic String toString()
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.