public class DiscoveryEntry extends Object implements Serializable, JoynrType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
DiscoveryEntry()
Default Constructor
|
DiscoveryEntry(DiscoveryEntry discoveryEntryObj)
Copy constructor
|
DiscoveryEntry(Version providerVersion,
String domain,
String interfaceName,
String participantId,
ProviderQos qos,
Long lastSeenDateMs,
Long expiryDateMs,
String publicKeyId)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
String |
getDomain()
Gets Domain
|
Long |
getExpiryDateMs()
Gets ExpiryDateMs
|
String |
getInterfaceName()
Gets InterfaceName
|
Long |
getLastSeenDateMs()
Gets LastSeenDateMs
|
String |
getParticipantId()
Gets ParticipantId
|
Version |
getProviderVersion()
Gets ProviderVersion
|
String |
getPublicKeyId()
Gets PublicKeyId
|
ProviderQos |
getQos()
Gets Qos
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setDomain(String domain)
Sets Domain
|
void |
setExpiryDateMs(Long expiryDateMs)
Sets ExpiryDateMs
|
void |
setInterfaceName(String interfaceName)
Sets InterfaceName
|
void |
setLastSeenDateMs(Long lastSeenDateMs)
Sets LastSeenDateMs
|
void |
setParticipantId(String participantId)
Sets ParticipantId
|
void |
setProviderVersion(Version providerVersion)
Sets ProviderVersion
|
void |
setPublicKeyId(String publicKeyId)
Sets PublicKeyId
|
void |
setQos(ProviderQos qos)
Sets Qos
|
String |
toString()
Stringifies the class
|
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public DiscoveryEntry()
public DiscoveryEntry(DiscoveryEntry discoveryEntryObj)
discoveryEntryObj - reference to the object to be copiedpublic DiscoveryEntry(Version providerVersion, String domain, String interfaceName, String participantId, ProviderQos qos, Long lastSeenDateMs, Long expiryDateMs, String publicKeyId)
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 providerpublic Version getProviderVersion()
public void setProviderVersion(Version providerVersion)
providerVersion - semantic version informationpublic String getDomain()
public void setDomain(String domain)
domain - the domain to register the provider withpublic String getInterfaceName()
public void setInterfaceName(String interfaceName)
interfaceName - the name of the provider interfacepublic String getParticipantId()
public void setParticipantId(String participantId)
participantId - the participant ID of the providerpublic ProviderQos getQos()
public void setQos(ProviderQos qos)
qos - the qos of the providerpublic Long getLastSeenDateMs()
public void setLastSeenDateMs(Long lastSeenDateMs)
lastSeenDateMs - the date in millis since epoch when the source for this provider last contacted the directorypublic Long getExpiryDateMs()
public void setExpiryDateMs(Long expiryDateMs)
expiryDateMs - the date in millis since epoch when this entry can be purged from the directory and cachespublic String getPublicKeyId()
public void setPublicKeyId(String publicKeyId)
publicKeyId - the ID of the public key to be used to encrypt messages to this providerpublic String toString()
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.