Package ball.upnp
Interface SSDP
-
- All Known Subinterfaces:
AnnotatedDevice
,AnnotatedService
,Device
,RootDevice
,Service
- All Known Implementing Classes:
AbstractDevice
,AbstractService
public interface SSDP
SSDP "discoverable" marker interface.- Author:
- Allen D. Ball
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description URI
getUSN(URI urn)
Map<URI,Set<URI>>
getUSNMap()
static Predicate<URI>
matches(URI st)
Method to provide aPredicate
that implementsmatches(URI,URI)
static boolean
matches(URI st, URI nt)
Method to test if aNT
satisfies anST
.
-
-
-
Method Detail
-
getUSNMap
Map<URI,Set<URI>> getUSNMap()
Method to provide theMap
ofUSN
toNT
(ST
) permutations required forNOTIFY("ssdp:alive")
andNOTIFY("ssdp:byebye")
requests andM-SEARCH("ssdp:all")
responses forthis
Device
orService
.- Returns:
Map
ofUSN
/NT
permutations.
-
matches
static boolean matches(URI st, URI nt)
Method to test if aNT
satisfies anST
.- Parameters:
st
- TheST
header value.nt
- TheNT
header value.- Returns:
true
ifnt
satisfiesst
;false
otherwise.
-
-