|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.aselect.agent.admin.SessionMonitorModel
public class SessionMonitorModel
Monitors the pending authentication sessions of the A-Select Agent.
Description:
This method monitors the pending authentication sessions of the A-Select
Agent. This class implements Runnable in which it periodically checks the
SessionManager for pending sessions. The data is used by the AdminMonitor for
display in the GUI.
Concurrency issues:
None.
Field Summary | |
---|---|
static java.lang.String |
MODULE
The MODULE name. |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
SessionMonitorModel(int iCheckInterval)
Initializes the class. |
Method Summary | |
---|---|
int |
getColumnCount()
Returns the number of columns. |
java.lang.String |
getColumnName(int iIndex)
Returns the column name. |
int |
getRowCount()
Returns the number of rows. |
long |
getSessionsCounter()
|
java.lang.Object |
getValueAt(int iRow,
int iColumn)
Returns the value of an information items in this model. |
void |
run()
Perfoms the Gui update. |
void |
stop()
Stops monitoring. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MODULE
Constructor Detail |
---|
public SessionMonitorModel(int iCheckInterval) throws ASelectConfigException
iCheckInterval
- the monitoring interval (in seconds) to wait for updating the
sessions information.
ASelectConfigException
- on error.Method Detail |
---|
public void stop()
public long getSessionsCounter()
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
TableModel.getRowCount()
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
TableModel.getColumnCount()
public java.lang.Object getValueAt(int iRow, int iColumn)
getValueAt
in interface javax.swing.table.TableModel
TableModel.getValueAt(int, int)
public java.lang.String getColumnName(int iIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
TableModel.getColumnName(int)
public void run()
run
in interface java.lang.Runnable
Runnable.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |