org.davic.net.ca
Class SessionOpenedEvent
java.lang.Object
java.util.EventObject
org.davic.net.ca.MessageEvent
org.davic.net.ca.SessionOpenedEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class SessionOpenedEvent
- extends MessageEvent
Event to notify the application that a session has been opened.
This is generated after the return from openMessageSession.
For CA1, it will be delayed after the return from openMessageSession
until the time when the session has actual access to the smart card.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
SessionOpenedEvent(int SessionID,
java.lang.Object caModule)
Constructor for the event |
Method Summary |
java.lang.Object |
getSource()
This method 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 |
SessionOpenedEvent
public SessionOpenedEvent(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()
- This method 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