org.davic.net.ca
Class NewModuleEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.davic.net.ca.CAEvent
          extended byorg.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

Field Summary
 
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
 

Constructor Detail

NewModuleEvent

public NewModuleEvent(CAModule caModule,
                      java.lang.Object caModuleManager)
Constructor for the event

Parameters:
caModule - the CAModule object representing the new module
caModuleManager - the CAModuleManager object representing the module manager that is the source of the event
Method Detail

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