Package ball.upnp

Interface SSDP

    • Method Detail

      • getUSNMap

        Map<URI,​Set<URI>> getUSNMap()
        Method to provide the Map of USN to NT (ST) permutations required for NOTIFY("ssdp:alive") and NOTIFY("ssdp:byebye") requests and M-SEARCH("ssdp:all") responses for this Device or Service.
        Returns:
        Map of USN/NT permutations.
      • getUSN

        URI getUSN​(URI urn)
        Method to get the USN for this Device UDN.
        Parameters:
        urn - The URN URI.
        Returns:
        The USN URI.
      • matches

        static boolean matches​(URI st,
                               URI nt)
        Method to test if a NT satisfies an ST.
        Parameters:
        st - The ST header value.
        nt - The NT header value.
        Returns:
        true if nt satisfies st; false otherwise.