public class DiscoveryEntryWithMetaInfo extends DiscoveryEntry implements Serializable, JoynrType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
DiscoveryEntryWithMetaInfo()
Default Constructor
|
DiscoveryEntryWithMetaInfo(DiscoveryEntryWithMetaInfo discoveryEntryWithMetaInfoObj)
Copy constructor
|
DiscoveryEntryWithMetaInfo(Version providerVersion,
String domain,
String interfaceName,
String participantId,
ProviderQos qos,
Long lastSeenDateMs,
Long expiryDateMs,
String publicKeyId,
Boolean isLocal)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
Boolean |
getIsLocal()
Gets IsLocal
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setIsLocal(Boolean isLocal)
Sets IsLocal
|
String |
toString()
Stringifies the class
|
getDomain, getExpiryDateMs, getInterfaceName, getLastSeenDateMs, getParticipantId, getProviderVersion, getPublicKeyId, getQos, setDomain, setExpiryDateMs, setInterfaceName, setLastSeenDateMs, setParticipantId, setProviderVersion, setPublicKeyId, setQospublic static final int MAJOR_VERSION
public static final int MINOR_VERSION
public DiscoveryEntryWithMetaInfo()
public DiscoveryEntryWithMetaInfo(DiscoveryEntryWithMetaInfo discoveryEntryWithMetaInfoObj)
discoveryEntryWithMetaInfoObj - reference to the object to be copiedpublic DiscoveryEntryWithMetaInfo(Version providerVersion, String domain, String interfaceName, String participantId, ProviderQos qos, Long lastSeenDateMs, Long expiryDateMs, String publicKeyId, Boolean isLocal)
providerVersion - semantic version informationdomain - the domain to register the provider withinterfaceName - the name of the provider interfaceparticipantId - the participant ID of the providerqos - the qos of the providerlastSeenDateMs - the date in millis since epoch when the source for this provider last contacted the directoryexpiryDateMs - the date in millis since epoch when this entry can be purged from the directory and cachespublicKeyId - the ID of the public key to be used to encrypt messages to this providerisLocal - Indicates whether a provider is registered at the local cluster controllerpublic Boolean getIsLocal()
public void setIsLocal(Boolean isLocal)
isLocal - Indicates whether a provider is registered at the local cluster controllerpublic String toString()
toString in class DiscoveryEntrypublic boolean equals(Object obj)
equals in class DiscoveryEntryobj - Reference to the object to compare topublic int hashCode()
hashCode in class DiscoveryEntryCopyright © 2021. All rights reserved.