Interface SystemAdvertisement

    • Method Detail

      • setHWArch

        void setHWArch​(String hwarch)
        Sets the hWArch attribute of the SystemAdvertisement object
        Parameters:
        hwarch - The new hWArch value
      • setOSArch

        void setOSArch​(String osarch)
        Sets the OSArch attribute of the SystemAdvertisement object
        Parameters:
        osarch - The new hWArch value
      • setHWVendor

        void setHWVendor​(String hwvendor)
        Sets the hWVendor attribute of the SystemAdvertisement object
        Parameters:
        hwvendor - The new hWVendor value
      • setID

        void setID​(PeerID id)
        sets the unique id
        Parameters:
        id - The id
      • addEndpointAddress

        void addEndpointAddress​(String value)
        Sets the network interface's address in the form of a URI
        Parameters:
        value - new uri (tcp://host:port)
      • setEndpointAddresses

        void setEndpointAddresses​(List<String> endpoints)
        API for setting the IP addresses for all the network interfaces
        Parameters:
        endpoints - endpoint addresses
      • setName

        void setName​(String name)
        Sets the name attribute of the DeviceAdvertisement object
        Parameters:
        name - The new name value
      • setOSName

        void setOSName​(String osname)
        Sets the oSName attribute of the SystemAdvertisement object
        Parameters:
        osname - The new oSName value
      • setOSVersion

        void setOSVersion​(String osversion)
        Sets the oSVersion attribute of the SystemAdvertisement object
        Parameters:
        osversion - The new oSVersion value
      • setCustomTag

        void setCustomTag​(String tag,
                          String value)
      • getHWArch

        String getHWArch()
        Gets the hWArch attribute of the SystemAdvertisement object
        Returns:
        The hWArch value
      • getOSArch

        String getOSArch()
        Gets the OSArch attribute of the SystemAdvertisement object
        Returns:
        The OSArch value
      • getHWVendor

        String getHWVendor()
        Gets the hWVendor attribute of the SystemAdvertisement object
        Returns:
        The hWVendor value
      • getID

        PeerID getID()
        returns the id of the device
        Returns:
        ID the device id
      • getEndpointAddresses

        List<String> getEndpointAddresses()
        Gets the address of the network interface in the form of URI
        Returns:
        the list of URIs for all the network interfaces
      • getName

        String getName()
        Gets the name attribute of the SystemAdvertisement object
        Returns:
        The name value
      • getOSName

        String getOSName()
        Gets the OSName attribute of the SystemAdvertisement object
        Returns:
        The OSName value
      • getOSVersion

        String getOSVersion()
        Gets the OSVersion attribute of the SystemAdvertisement object
        Returns:
        The OSVersion value