org.dvb.si
Class SIRetrievalEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.dvb.si.SIRetrievalEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SILackOfResourcesEvent, SINotInCacheEvent, SIObjectNotInTableEvent, SIRequestCancelledEvent, SISuccessfulRetrieveEvent, SITableNotFoundEvent, SITableUpdatedEvent

public abstract class SIRetrievalEvent
extends java.util.EventObject

This class is the base class for events about completion of a SI retrieval request. Exactly one event will be returned in response to an SI retrieval request.

See Also:
SIRetrievalListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SIRetrievalEvent(java.lang.Object appData, SIRequest request)
          The constructor for the event
 
Method Summary
 java.lang.Object getAppData()
          Returns the application data that was passed to the retrieve method
 java.lang.Object getSource()
          Returns the SIRequest object that is the source of this event
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SIRetrievalEvent

public SIRetrievalEvent(java.lang.Object appData,
                        SIRequest request)
The constructor for the event

Parameters:
appData - the application data passed in the request method call
request - the SIRequest instance which is the source of the event
Method Detail

getAppData

public java.lang.Object getAppData()
Returns the application data that was passed to the retrieve method

Returns:
the application data

getSource

public java.lang.Object getSource()
Returns the SIRequest object that is the source of this event

Returns:
the SIRequest object