|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.martealert.martealertTable
com.martealert.martealertAgents
Field Summary |
Fields inherited from class com.martealert.martealertTable |
_, ALIASVAR, columnNames, data, DEFAULT, GROUPBY, IDENT, INDEX, INDEXSEARCH, NAMEDVAR, RELATION, SELECT, TX, UNNAMEDVAR, VAR |
Fields inherited from interface com.martealert.martealertAgentsInterface |
AGENTS_ADDRESS, AGENTS_ANALYZERID, AGENTS_HEARTBEAT_INTERVAL, AGENTS_LAST_HEARTBEAT_TIME, AGENTS_NAME, AGENTS_OS, AGENTS_STATUS, AGENTS_TYPE, AGENTS_VERSION, OFFLINE, ONLINE, ONLINE_INTERVAL, PRELUDE_HTABLES |
Fields inherited from interface com.martealert.martealertConstants |
AMBIGUOUS_FIELDS, ANALYZER, CLASSIFICATION, COMPLETION, FTS, FTSTZ, HOUR_IN_MILLIS, INTERVAL, IPADDRS, LASTJOIN, LTS, LTSTZ, MAXMSGID, MAXSEVERITY, MFTS, MLTS, MSGID, MSOURCEPORT, NALERTS, NOTNULL_FIELDS, NULL_FIELDS, NXCLASSIFICATION, ORDER_BY_ALERTS, ORDER_BY_MAXTIME, ORDER_BY_TIME, PRELUDE_TABLES, PROTOCOL, SENSOR, SEVERITY, SEVERITY_COMPLETION, SOURCE, SOURCEIP, SOURCEPORT, SOURCEUID, TARGET, TARGETIP, TARGETPORT, TARGETPORT_PROTOCOL, TARGETUID, TERMINAL, TIME, TIMETZ, TLAST, TOP, TOTALTIME |
Fields inherited from interface com.martealert.martealertRealTimeInterface |
REAL_TIME_CLASSIFICATION, REAL_TIME_COMPLETION, REAL_TIME_MSGID, REAL_TIME_SEVERITY, REAL_TIME_SOURCEIP, REAL_TIME_TARGETIP, REAL_TIME_TIME |
Constructor Summary | |
martealertAgents()
Creates a new instance of martealertAgents |
Method Summary | |
void |
deleteProbe(java.sql.Connection con,
int[] row,
javax.swing.JTextArea jtext,
javax.swing.JProgressBar jprogbar)
Delete an agent (probe) from table obtained with this.setAgents. |
void |
setAgents(java.sql.Connection con)
Set to this object only probes which lastest heartbeat was received earlier than time specified in constant ONLINE_INTERVAL. |
void |
setOfflineProbes(java.sql.Connection con)
Set to this martealertAgents table all probes which lastest heartbeat was received more than ONLINE_INTERVAL ago. |
Methods inherited from class com.martealert.martealertTable |
clear, getColumn, getColumnNames, getColumnSize, getData, getFTSColumn, getIgnoredColumnsPdf, getIpColumns, getLTSColumn, getMultilineColumns, getPercentColumns, getPortColumns, getProtocolColumns, getRow, getRowSize, getSeverityColumn, getSqlRelation, getTableVector, getValue, getValue, getValue, printTable, reload, setColumnNames, setDataVector, setDataVector, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public martealertAgents()
Method Detail |
public void setOfflineProbes(java.sql.Connection con) throws java.sql.SQLException
con
- Connection to access the database.
java.sql.SQLException
public void setAgents(java.sql.Connection con) throws java.sql.SQLException
con
- Connection to access the database.
java.sql.SQLException
public void deleteProbe(java.sql.Connection con, int[] row, javax.swing.JTextArea jtext, javax.swing.JProgressBar jprogbar) throws java.sql.SQLException
con
- Connection to access the database.row
- int[] with rows which probes are going deleted.
java.sql.SQLException
- Sql syntax error.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |