Package joynr.types

Class DiscoveryEntryWithMetaInfo

    • Constructor Detail

      • DiscoveryEntryWithMetaInfo

        public DiscoveryEntryWithMetaInfo()
        Default Constructor
      • DiscoveryEntryWithMetaInfo

        public DiscoveryEntryWithMetaInfo​(DiscoveryEntryWithMetaInfo discoveryEntryWithMetaInfoObj)
        Copy constructor
        Parameters:
        discoveryEntryWithMetaInfoObj - reference to the object to be copied
      • DiscoveryEntryWithMetaInfo

        public DiscoveryEntryWithMetaInfo​(Version providerVersion,
                                          String domain,
                                          String interfaceName,
                                          String participantId,
                                          ProviderQos qos,
                                          Long lastSeenDateMs,
                                          Long expiryDateMs,
                                          String publicKeyId,
                                          Boolean isLocal)
        Parameterized constructor
        Parameters:
        providerVersion - semantic version information
        domain - the domain to register the provider with
        interfaceName - the name of the provider interface
        participantId - the participant ID of the provider
        qos - the qos of the provider
        lastSeenDateMs - the date in millis since epoch when the source for this provider last contacted the directory
        expiryDateMs - the date in millis since epoch when this entry can be purged from the directory and caches
        publicKeyId - the ID of the public key to be used to encrypt messages to this provider
        isLocal - Indicates whether a provider is registered at the local cluster controller
    • Method Detail

      • getIsLocal

        public Boolean getIsLocal()
        Gets IsLocal
        Returns:
        Indicates whether a provider is registered at the local cluster controller
      • setIsLocal

        public void setIsLocal​(Boolean isLocal)
        Sets IsLocal
        Parameters:
        isLocal - Indicates whether a provider is registered at the local cluster controller
      • toString

        public String toString()
        Stringifies the class
        Overrides:
        toString in class DiscoveryEntry
        Returns:
        stringified class content
      • equals

        public boolean equals​(Object obj)
        Check for equality
        Overrides:
        equals in class DiscoveryEntry
        Parameters:
        obj - Reference to the object to compare to
        Returns:
        true, if objects are equal, false otherwise
      • hashCode

        public int hashCode()
        Calculate code for hashing based on member contents
        Overrides:
        hashCode in class DiscoveryEntry
        Returns:
        The calculated hash code