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 URIgetUSN(URI urn)Map<URI,Set<URI>>getUSNMap()static Predicate<URI>matches(URI st)Method to provide aPredicatethat implementsmatches(URI,URI)static booleanmatches(URI st, URI nt)Method to test if aNTsatisfies anST.
-
-
-
Method Detail
-
getUSNMap
Map<URI,Set<URI>> getUSNMap()
Method to provide theMapofUSNtoNT(ST) permutations required forNOTIFY("ssdp:alive")andNOTIFY("ssdp:byebye")requests andM-SEARCH("ssdp:all")responses forthisDeviceorService.- Returns:
MapofUSN/NTpermutations.
-
matches
static boolean matches(URI st, URI nt)
Method to test if aNTsatisfies anST.- Parameters:
st- TheSTheader value.nt- TheNTheader value.- Returns:
trueifntsatisfiesst;falseotherwise.
-
-