Example #1
0
 public virtual void greetingReceived(SessionEvent e)
 {
 }
Example #2
0
 /// <summary> Method receiveEvent is implemented here so the SASLSessionTable
 /// can receive events when a session is terminated (so that it
 /// can update its information about what sessions are actively
 /// authenticated etc.
 /// 
 /// </summary>
 /// <param name="event">event the SessionEvent used.
 /// </param>
 public virtual void sessionClosed(SessionEvent event_Renamed)
 {
     try
     {
         //UPGRADE_NOTE: The method 'java.util.EventObject.Source' needs to be in a event handling method in order to be properly converted. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1171"'
         Session s = (Session) event_Renamed.Source;
         removeEntry(s);
     }
     catch (System.InvalidCastException x)
     {
     }
     catch (SASLException x)
     {
         log.error("Error removing entry", x);
     }
 }