org.davic.net.ca
Class ModuleStateChangedEvent
java.lang.Object
java.util.EventObject
org.davic.net.ca.MessageEvent
org.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
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.Object |
getSource()
Returns the CAModule 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 |
ModuleStateChangedEvent
public ModuleStateChangedEvent(int SessionID,
java.lang.Object caModule)
- Constructor for the event
- Parameters:
SessionID
- the sessionID of the session concernedcaModule
- the CAModule object representing the module that
is the source of the event
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