|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--atropos.log.HtmlDebug
This class write HTML files so that a browser can be used to examine log files.
This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.
Field Summary | |
static int |
CANCELLATION
Indicates a CANCELLATION has occurred. |
static int |
RCVACROSS
Message is RECEIVED from across the web page. |
static int |
RCVDOWN
Message is RECEIVED from above within the web page. |
static int |
ROLLBACK
Indicates a ROLLBACK has occurred. |
static int |
SNDACROSS
Message is SENT across the web page. |
static int |
SNDDOWN
Message is SENT downwards within the web page. |
static int |
STATE
Indicates system STATE information. |
Constructor Summary | |
HtmlDebug()
Stub for now. |
Method Summary | |
void |
addEntry(long time,
long lvt,
java.lang.String level,
AvnmpPacket ap,
int direction,
AvnmpLP mylp,
AvnmpTime t)
Add an entry to the debug HTML file. |
void |
addEntry(long time,
long lvt,
java.lang.String level,
java.lang.String mes)
Add an entry to the debug HTML file. |
void |
addEntry(long time,
long lvt,
java.lang.String level,
java.lang.String mes,
int direction)
Add an entry to the debug HTML file. |
void |
done()
Complete the main HTML log file. |
java.lang.String |
repString(java.lang.String in,
java.lang.String rep,
java.lang.String with)
Replace all occurances of one string with another. |
void |
setNodeName(java.lang.String nodename,
AvnmpLP lp)
Set the node name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SNDACROSS
public static final int SNDDOWN
public static final int RCVACROSS
public static final int RCVDOWN
public static final int STATE
public static final int ROLLBACK
public static final int CANCELLATION
Constructor Detail |
public HtmlDebug()
Method Detail |
public void setNodeName(java.lang.String nodename, AvnmpLP lp)
nodename
- The node's active name.public void done()
public void addEntry(long time, long lvt, java.lang.String level, AvnmpPacket ap, int direction, AvnmpLP mylp, AvnmpTime t)
time
- The real time this log occurred.lvt
- The LVT this log occurred.level
- The debug level name.ap
- The AVNMP packet.direction
- Choose one of the options in "See Also" below.mylp
- The current AVNMP LP.t
- The LP's real time when this log message was generated.SNDACROSS
,
SNDDOWN
,
RCVACROSS
,
RCVDOWN
,
STATE
,
ROLLBACK
,
CANCELLATION
public void addEntry(long time, long lvt, java.lang.String level, java.lang.String mes, int direction)
time
- The real time this log occurred.lvt
- The LVT this log occurred.level
- The debug level name.direction
- Choose one of the options in "See Also" below.mes
- The message to be written to the log file.SNDACROSS
,
SNDDOWN
,
RCVACROSS
,
RCVDOWN
,
STATE
,
ROLLBACK
,
CANCELLATION
public void addEntry(long time, long lvt, java.lang.String level, java.lang.String mes)
time
- The real time this log occurred.lvt
- The LVT this log occurred.level
- The debug level name.mes
- The message to be written to the log file.public java.lang.String repString(java.lang.String in, java.lang.String rep, java.lang.String with)
in
- The input stringrep
- The replacement string.with
- The string replacing the above string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |