|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.SPLcircularLog.SPLCircularLogClass
This is a circular log to hold a limited number of messages. The log will then roll over.

| Constructor Summary | |
SPLCircularLogClass(int ilogsize)
Alternate Constructor. |
|
| Method Summary | |
void |
addEntry(java.lang.Object entry)
Add a entry to the log object. |
void |
clear()
Clear the log. |
java.lang.Object |
getCurrentEntry()
This method returns the current entry in the Log - where the pointer indicates. |
int |
getLogLength()
This method returns the number of logged objects in the log instance. |
java.lang.String |
getLogtype()
This method returns the log type of the log class that implements this log interface. |
java.lang.Object |
getNextEntry()
Get the next entry in the log. |
java.lang.Object |
getPreviousEntry()
This method returns the previous entry in the log. |
boolean |
reset()
Resets the log pointer. |
void |
setLogLength(int logsize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SPLCircularLogClass(int ilogsize)
| Method Detail |
public void addEntry(java.lang.Object entry)
SPLogInterface
addEntry in interface SPLogInterfaceentry - Object - An entry object that is used in a log.public void clear()
SPLogInterface
clear in interface SPLogInterfacepublic boolean reset()
SPLogInterface
reset in interface SPLogInterfacepublic java.lang.Object getNextEntry()
SPLogInterface
getNextEntry in interface SPLogInterfacepublic java.lang.Object getPreviousEntry()
SPLogInterface
getPreviousEntry in interface SPLogInterfacepublic java.lang.Object getCurrentEntry()
SPLogInterface
getCurrentEntry in interface SPLogInterfacepublic int getLogLength()
SPLogInterface
getLogLength in interface SPLogInterfacepublic void setLogLength(int logsize)
public java.lang.String getLogtype()
SPLogInterface
getLogtype in interface SPLogInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||