public interface SSDP
| Modifier and Type | Method and Description |
|---|---|
URI |
getUSN(URI urn)
|
Map<URI,Set<URI>> |
getUSNMap()
|
static Predicate<URI> |
matches(URI st)
Method to provide a
Predicate that implements
matches(URI,URI) |
static boolean |
matches(URI st,
URI nt)
Method to test if a
NT satisfies an ST. |
Map<URI,Set<URI>> getUSNMap()
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.Map of USN/NT permutations.static boolean matches(URI st, URI nt)
NT satisfies an ST.st - The ST header value.nt - The NT header value.true if nt satisfies st;
false otherwise.Copyright © 2015–2021. All rights reserved.