org.dvb.internet
Class InternetClientEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.dvb.internet.InternetClientEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InternetClientFailureEvent, InternetClientSuccessEvent

public class InternetClientEvent
extends java.util.EventObject

Base class for all status events from internet clients.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InternetClientEvent(java.lang.Object source, java.net.URL url)
          Construct a new InternetClientEvent
 
Method Summary
 java.net.URL getUrl()
          Get the URL for which this event was generated.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternetClientEvent

public InternetClientEvent(java.lang.Object source,
                           java.net.URL url)
Construct a new InternetClientEvent

Parameters:
source - the source of the event
url - the URL to which the event relates.
Method Detail

getUrl

public java.net.URL getUrl()
Get the URL for which this event was generated. In the case that a URL was not specified when the event was constructed, null shall be returned.

Returns:
an instance of java.net.URL or null