net.sbbi.upnp
Interface DiscoveryEventHandler

All Known Implementing Classes:
MyDiscoveryEventsHandler, UPNPDiscovery

public interface DiscoveryEventHandler

Interface for object that want to receive events from the DiscoveryAdvertisement thread

Version:
1.0
Author:
SuperBonBon

Method Summary
 void eventSSDPAlive(java.lang.String usn, java.lang.String udn, java.lang.String nt, java.lang.String maxAge, java.net.URL location)
          Called when a device joins the network or advertise it is still alive
 void eventSSDPByeBye(java.lang.String usn, java.lang.String udn, java.lang.String nt)
          Called when a device is leaving the network
 

Method Detail

eventSSDPAlive

public void eventSSDPAlive(java.lang.String usn,
                           java.lang.String udn,
                           java.lang.String nt,
                           java.lang.String maxAge,
                           java.net.URL location)
Called when a device joins the network or advertise it is still alive

Parameters:
usn - the device USN (udn::nt)
udn - the device UDN
nt - the device NT
maxAge - the device maxAge
location - the device location

eventSSDPByeBye

public void eventSSDPByeBye(java.lang.String usn,
                            java.lang.String udn,
                            java.lang.String nt)
Called when a device is leaving the network

Parameters:
usn - the device USN (udn::nt)
udn - the device UDN
nt - the device NT


Copyright © 2005 SuperBonBon Industries. All Rights Reserved.