|
SecurePlayLibray J2SE v2.1 |
|||||||||
| 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.

| Field Summary | |
private int |
currview
This is an integer value representing the current entry in the log for viewing |
private int |
loglength
This is an integer value that is the length of the log |
private java.lang.String |
logtype
|
private java.util.Vector |
prentryList
This is a private object that acts as the storage container for the log object entries. |
private int |
prptr
This is a pointer to indicate the current location in an existing log object. |
(package private) java.lang.String |
releaseversion
IT GlobalSecure release version. |
| 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)
Sets the log length. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.Vector prentryList
private int prptr
private int loglength
private int currview
final java.lang.String releaseversion
private java.lang.String logtype
| Constructor Detail |
public SPLCircularLogClass(int ilogsize)
| Method Detail |
public void addEntry(java.lang.Object entry)
addEntry in interface SPLogInterfaceentry - Object - An entry object that is used in a log.public void clear()
clear in interface SPLogInterfacepublic boolean reset()
reset in interface SPLogInterfacepublic java.lang.Object getNextEntry()
getNextEntry in interface SPLogInterfacepublic java.lang.Object getPreviousEntry()
getPreviousEntry in interface SPLogInterfacepublic java.lang.Object getCurrentEntry()
getCurrentEntry in interface SPLogInterfacepublic int getLogLength()
getLogLength in interface SPLogInterfacepublic void setLogLength(int logsize)
logsize - int - log lengthpublic java.lang.String getLogtype()
getLogtype in interface SPLogInterface
|
SecurePlayLibray J2SE v2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||