|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object netcom.log.LogEntry
Title: FileReaderThread This is an interface used by the Logger to request for data about the MDS/proxy node. The data is used for statistics that will be put into a LogMessage and sent back to the GUI. Copyright: Copyright (c) 2002 Company NETCOM
Constructor Summary | |
LogEntry()
default constructor |
|
LogEntry(int the_session,
int the_id,
int the_code,
java.lang.String the_comment)
Constructor used to make Logentries when reading from the logfile and returning info to the GUI |
|
LogEntry(int the_code,
java.lang.String the_comment)
Constructor for LogEntry that is made when parent node does logger.addLogEntry(int, String) |
Method Summary | |
int |
CompareTo(java.lang.Comparable rhs)
Compare this object with rhs. |
boolean |
equals(java.lang.Object rhs)
Compare this object with rhs. |
int |
getCode()
Accessor for private var code |
java.lang.String |
getComment()
Accessor for private var comment |
int |
getID()
Accessor for private var id |
int |
getSessionID()
Accessor for private var session |
java.lang.String |
getText()
Accessor for private var text |
long |
getTime()
Accessor for private var time |
void |
print()
print method for LogEtry... |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LogEntry()
public LogEntry(int the_code, java.lang.String the_comment)
the_code
- tells what text to write to filethe_comment
- tells what informative peace of data is added at the end of the log filepublic LogEntry(int the_session, int the_id, int the_code, java.lang.String the_comment)
the_session
- ... records session the LogEntry is fromthe_id
- ... records id the LogEntry is fromthe_code
- ... records the tpe of log entry that was made to filethe_comment
- ... records comments made to file for that LogEntryMethod Detail |
public int getID()
public int getSessionID()
public int getCode()
public java.lang.String getText()
public long getTime()
public java.lang.String getComment()
public boolean equals(java.lang.Object rhs)
rhs
- the second Comparable.
public int CompareTo(java.lang.Comparable rhs)
rhs
- the second Comparable.
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |