org.davic.net.ca
Class NewModuleEvent
java.lang.Object
java.util.EventObject
org.davic.net.ca.CAEvent
org.davic.net.ca.NewModuleEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class NewModuleEvent
- extends CAEvent
This event informs that a new CA module has been added.
In the case of a CA module based on the DVB common interface, this event shall only be
generated when module initialisation has been completed. Hence an application has no means
to detect when a module is inserted but has not yet been initialised.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
NewModuleEvent(CAModule caModule,
java.lang.Object caModuleManager)
Constructor for the event |
Method Summary |
CAModule |
getModule()
Returns the CAModule object representing the new module |
java.lang.Object |
getSource()
Returns the CAModuleManager that is the source of the 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 |
NewModuleEvent
public NewModuleEvent(CAModule caModule,
java.lang.Object caModuleManager)
- Constructor for the event
- Parameters:
caModule
- the CAModule object representing the new modulecaModuleManager
- the CAModuleManager object representing the
module manager that is the source of the event
getModule
public CAModule getModule()
- Returns the CAModule object representing the new module
- Returns:
- the CAModule object representing the new module
getSource
public java.lang.Object getSource()
- Returns the CAModuleManager that is the source of the event
- Overrides:
getSource
in class CAEvent