dsnserver
Class XmlRpcGetDBEvent
java.lang.Object
dsnserver.XmlRpcGetDBEvent
public class XmlRpcGetDBEvent
- extends java.lang.Object
A function wich is used as a XmlRpc function.
It gives back rows of the dsnlog table.
- Author:
- kaltt
Method Summary |
java.util.Vector |
getDBEvent(java.lang.String DSNID,
int levelmask,
int logclass,
java.lang.String logtext,
java.lang.String time_from,
java.lang.String time_till)
result = getDBEvent(DSNID, levelmask, logclass, logtext, time_from, time_till, 0); |
java.util.Vector |
getDBEvent(java.lang.String DSNID,
int levelmask,
int logclass,
java.lang.String logtext,
java.lang.String time_from,
java.lang.String time_till,
int maxReply)
A function wich is used as a XmlRpc function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlRpcGetDBEvent
public XmlRpcGetDBEvent()
getDBEvent
public java.util.Vector getDBEvent(java.lang.String DSNID,
int levelmask,
int logclass,
java.lang.String logtext,
java.lang.String time_from,
java.lang.String time_till,
int maxReply)
- A function wich is used as a XmlRpc function.
It gives back all rows of the dsnlog table
in the DB, which time is between time_from
and time_till.
- Parameters:
String
- DSNID
int levelmask (dez x01-Error x02-Warning x03-Info x04-Debug) (set all = 15, set Error & Warning = 3)
int logclass (0 = all classes)
String logtext (it is looking for this String in the logtext in the DB, if the String is "" it gives back all rows which correspond with the other clauses)
String time_from (yyyy-MM-dd HH:mm:ss)
String time_till (yyyy-MM-dd HH:mm:ss)
int maxReply (maxReply = 0 is to get all back and will be ordered ascending, if you specify maxReply the order will be descending and will start with the latest entry)
- Returns:
- Hashtable result (Keys: DSNID,
DSNtime, time, Level, DBtime, LogText)
getDBEvent
public java.util.Vector getDBEvent(java.lang.String DSNID,
int levelmask,
int logclass,
java.lang.String logtext,
java.lang.String time_from,
java.lang.String time_till)
- result = getDBEvent(DSNID, levelmask, logclass, logtext, time_from, time_till, 0);
- Parameters:
String
- DSNID
int levelmask (dez x01-Error x02-Warning x03-Info x04-Debug) (set all = 15, set Error & Warning = 3)
int logclass (0 = all classes)
String logtext (it is looking for this String in the logtext in the DB, if the String is "" it gives back all rows which corrospond with the other clauses)
String time_from (yyyy-MM-dd HH:mm:ss)
String time_till (yyyy-MM-dd HH:mm:ss)
- Returns:
- Hashtable result (Keys: DSNID,
DSNtime, time, Level, DBtime, LogText)