Class UPNPDiscoveryNotification

  • All Implemented Interfaces:
    Serializable

    public class UPNPDiscoveryNotification
    extends Notification
    Discovery notification sent when a new set of UPNPServiceMBean for a given discovered UPNP device is registered within the server. The same notification is also sent when a device is leaving the network.
    Version:
    1.0
    Author:
    SuperBonBon
    See Also:
    Serialized Form
    • Constructor Detail

      • UPNPDiscoveryNotification

        public UPNPDiscoveryNotification​(String type,
                                         Object source,
                                         long sequenceNumber,
                                         long timeStamp)
    • Method Detail

      • getLocation

        public URL getLocation()
        The Device descriptor location only provided when an ssdp alive notification is recieved
        Returns:
        the device descriptor location
      • setLocation

        protected void setLocation​(URL location)
      • getNt

        public String getNt()
        The device type
        Returns:
        the device type
      • setNt

        protected void setNt​(String nt)
      • getUdn

        public String getUdn()
        The device Identifier
        Returns:
        the device ID
      • setUdn

        protected void setUdn​(String udn)
      • getUsn

        public String getUsn()
        The device id + ":" + type
        Returns:
        the device USN
      • setUsn

        protected void setUsn​(String usn)
      • getUPNPServiceMBeans

        public ObjectName[] getUPNPServiceMBeans()
        The registered UPNPServiceMBeans object names bound to this device joining or leaving the network
        Returns:
        UPNPServiceMBeans object names array
      • setUPNPServiceMBeans

        protected void setUPNPServiceMBeans​(ObjectName[] serviceMBeans)