net.sbbi.upnp.jmx
Class UPNPDiscoveryNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.management.Notification
          extended bynet.sbbi.upnp.jmx.UPNPDiscoveryNotification
All Implemented Interfaces:
java.io.Serializable

public class UPNPDiscoveryNotification
extends javax.management.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 Summary
UPNPDiscoveryNotification(java.lang.String type, java.lang.Object source, long sequenceNumber, long timeStamp)
           
 
Method Summary
 java.net.URL getLocation()
          The Device descriptor location only provided when an ssdp alive notification is recieved
 java.lang.String getNt()
          The device type
 java.lang.String getUdn()
          The device Identifier
 javax.management.ObjectName[] getUPNPServiceMBeans()
          The registered UPNPServiceMBeans object names bound to this device joining or leaving the network
 java.lang.String getUsn()
          The device id + ":" + type
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UPNPDiscoveryNotification

public UPNPDiscoveryNotification(java.lang.String type,
                                 java.lang.Object source,
                                 long sequenceNumber,
                                 long timeStamp)
Method Detail

getLocation

public java.net.URL getLocation()
The Device descriptor location only provided when an ssdp alive notification is recieved

Returns:
the device descriptor location

getNt

public java.lang.String getNt()
The device type

Returns:
the device type

getUdn

public java.lang.String getUdn()
The device Identifier

Returns:
the device ID

getUsn

public java.lang.String getUsn()
The device id + ":" + type

Returns:
the device USN

getUPNPServiceMBeans

public javax.management.ObjectName[] getUPNPServiceMBeans()
The registered UPNPServiceMBeans object names bound to this device joining or leaving the network

Returns:
UPNPServiceMBeans object names array


Copyright © 2005 SuperBonBon Industries. All Rights Reserved.