org.dvb.net.rc
Class RCInterfaceReservedEvent
java.lang.Object
java.util.EventObject
org.davic.resources.ResourceStatusEvent
org.dvb.net.rc.RCInterfaceReservedEvent
- All Implemented Interfaces:
- java.io.Serializable
public class RCInterfaceReservedEvent
- extends ResourceStatusEvent
This event informs an application that a RCInterface
has been reserved by an application or other entity in the system. It is
generated when an application successfully reserves a RCInterface
.
It will also be generated if any other entities in the system reserve such
an interface with the effect of something which was visible to applications
using this API becoming unavailable.
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
getSource()
Returns the device that has been reserved |
Methods inherited from class java.util.EventObject |
toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RCInterfaceReservedEvent
public RCInterfaceReservedEvent(java.lang.Object bg)
- Constructor for the event
- Parameters:
bg
- the RCInterface
representing the device which has been reserved
getSource
public java.lang.Object getSource()
- Returns the device that has been reserved
- Overrides:
getSource
in class ResourceStatusEvent
- Returns:
- an
RCInterface
representing the device that has been reserved