|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean to discover UPNP devices on the network and register the devices service as UPNPServiceMBean objects during the MBean registration. The registered UPNPServiceMBean will also be automatically unregistered when the device is leaving the network or when the UPNPDiscoveryMBean is unregistered from teh MBeans server.
Field Summary | |
static java.lang.String |
SSDP_ALIVE_NOTIFICATION
Notification type for devices joining the network |
static java.lang.String |
SSDP_BYEBYE_NOTIFICATION
Notification type for devices leaving the network |
Method Summary | |
javax.management.ObjectName[] |
getRegisteredUPNPServiceMBeans(java.lang.String deviceUDN)
Computes an array of object names of registered UPNPServiceMBeans for a given UPNP device UDN |
java.lang.String[] |
getRegisteredUPNPServiceMBeansUDNs()
The list of registered devices UDN, the returned UDN can be used with the getRegisteredUPNPServiceMBeans(String deviceUDN) method to retreive UDN bound UPNPServiceMBean object names |
java.util.Set |
getSearchTargets()
The registered devices search targets |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
Field Detail |
public static final java.lang.String SSDP_ALIVE_NOTIFICATION
public static final java.lang.String SSDP_BYEBYE_NOTIFICATION
Method Detail |
public java.util.Set getSearchTargets()
public javax.management.ObjectName[] getRegisteredUPNPServiceMBeans(java.lang.String deviceUDN) throws javax.management.MalformedObjectNameException
deviceUDN
- the UPNP device UDN ( unique id on the network )
javax.management.MalformedObjectNameException
- if an object name cannot be computed for an UPNPServiceMBeanpublic java.lang.String[] getRegisteredUPNPServiceMBeansUDNs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |