org.davic.net.ca
Class ModuleStateChangedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.davic.net.ca.MessageEvent
          extended byorg.davic.net.ca.ModuleStateChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class ModuleStateChangedEvent
extends MessageEvent

This event is sent for a specific session, at the moment that the state of the module (as far as relevant to that session) has changed. The module state may change due to events out of the scope of the session, e.g. when the module is accessed by other parts of the STB software.

Any messages sent by the application to the CA module in this session to which the CA module has not responded yet, may or may not have been delivered to the module and will not be responded to any more due to the state change.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ModuleStateChangedEvent(int SessionID, java.lang.Object caModule)
          Constructor for the event
 
Method Summary
 java.lang.Object getSource()
          Returns the CAModule that is the source of the event
 
Methods inherited from class org.davic.net.ca.MessageEvent
getSessionId
 
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

ModuleStateChangedEvent

public ModuleStateChangedEvent(int SessionID,
                               java.lang.Object caModule)
Constructor for the event

Parameters:
SessionID - the sessionID of the session concerned
caModule - the CAModule object representing the module that is the source of the event
Method Detail

getSource

public java.lang.Object getSource()
Returns the CAModule that is the source of the event

Overrides:
getSource in class MessageEvent
Returns:
the CAModule object representing the CA module that is is the source of the event