p2ps.discovery
Class DiscoveryEvent

java.lang.Object
  extended byp2ps.discovery.DiscoveryEvent

public class DiscoveryEvent
extends java.lang.Object

The event generated when an advert is discovered by the discovery listener.

Version:
$Revision: 295 $
Author:
Ian Wang

Constructor Summary
DiscoveryEvent(Advertisement advert)
           
 
Method Summary
 Advertisement getAdvertisement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryEvent

public DiscoveryEvent(Advertisement advert)
Method Detail

getAdvertisement

public Advertisement getAdvertisement()
Returns:
the advert discovered