public void addHttpSession ( final HttpSession session ) { if ( View . isInitialised ( ) && ! EventQueue . isDispatchThread ( ) ) { EventQueue . invokeLater ( new Runnable ( ) { @ Override public void run ( ) { addHttpSession ( session ) ; } } ) ; return ; } if ( sessions . contains ( session ) ) return ; sessions . add ( session ) ; final int affectedRow = sessions . size ( ) - 1 ; fireTableRowsInserted ( affectedRow , affectedRow ) ; }
Adds a new http session to the model .