org.davic.resources
Class ResourceStatusEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.davic.resources.ResourceStatusEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FilterResourcesAvailableEvent, ForcedDisconnectedEvent, HScreenDeviceReleasedEvent, HScreenDeviceReservedEvent, NetworkInterfaceReleasedEvent, NetworkInterfaceReservedEvent, RCInterfaceReleasedEvent, RCInterfaceReservedEvent, UserEventAvailableEvent, UserEventUnavailableEvent

public class ResourceStatusEvent
extends java.util.EventObject

This class is the parent class for events reporting changes in the status of resources.

See Also:
Serialized Form

Constructor Summary
ResourceStatusEvent(java.lang.Object source)
          This constructs a resource status event relating to the specified resource.
 
Method Summary
 java.lang.Object getSource()
           
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceStatusEvent

public ResourceStatusEvent(java.lang.Object source)
This constructs a resource status event relating to the specified resource. The precise class of the object will depend on the individual API using the resource notification API.

Parameters:
source - the resource whose status changed
Method Detail

getSource

public java.lang.Object getSource()
Overrides:
getSource in class java.util.EventObject
Returns:
the object whose status changed