org.davic.net.ca
Class SessionOpenedEvent

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

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

SessionOpenedEvent

public SessionOpenedEvent(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()
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