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(String usn, String udn, String nt, String maxAge, URL location)
          Called when a device joins the network or advertise it is still alive
 void eventSSDPByeBye(String usn, String udn, String nt)
          Called when a device is leaving the network
 

Method Detail

eventSSDPAlive

void eventSSDPAlive(String usn,
                    String udn,
                    String nt,
                    String maxAge,
                    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

void eventSSDPByeBye(String usn,
                     String udn,
                     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 © 2010. All Rights Reserved.