SecurePlayLibray J2SE
v2.1

com.SecurePlay.SPLlinkedList
Class SPLLinkedListLogClass

java.lang.Object
  extended bycom.SecurePlay.SPLlinkedList.SPLLinkedListLogClass
All Implemented Interfaces:
SPLogInterface

public class SPLLinkedListLogClass
extends java.lang.Object
implements SPLogInterface

Note that the two current logs in the SecurePlay Library are the Message log, containing all of the Messages between players of type SPMessage and the Error log, containing all of the Error messages generated of type SPError.

Author:
ITGlobalSecure
See Also:
SecurePlay License Information
 

Field Summary
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
SPLLinkedListLogClass()
          Default 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prentryList

private java.util.Vector prentryList
This is a private object that acts as the storage container for the log object entries.


prptr

private int prptr
This is a pointer to indicate the current location in an existing log object.


releaseversion

final java.lang.String releaseversion
IT GlobalSecure release version.

See Also:
Constant Field Values

logtype

private java.lang.String logtype
Constructor Detail

SPLLinkedListLogClass

public SPLLinkedListLogClass()
Default Constructor. Constructs a new SPLinkedListLogClass()

Method Detail

addEntry

public void addEntry(java.lang.Object entry)
Add a entry to the log object.

Specified by:
addEntry in interface SPLogInterface
Parameters:
entry - Object - An entry object that is used in a log.

clear

public void clear()
Clear the log.

Specified by:
clear in interface SPLogInterface

reset

public boolean reset()
Resets the log pointer.

Specified by:
reset in interface SPLogInterface
Returns:
result - Boolean: TRUE, to confirm the reset.

getNextEntry

public java.lang.Object getNextEntry()
Get the next entry in the log.

Specified by:
getNextEntry in interface SPLogInterface
Returns:
obj - Object - An entry object

getPreviousEntry

public java.lang.Object getPreviousEntry()
This method returns the previous entry in the log.

Specified by:
getPreviousEntry in interface SPLogInterface
Returns:
obj - Object - Previous Log Entry.

getCurrentEntry

public java.lang.Object getCurrentEntry()
This method returns the current entry in the Log - where the pointer indicates.

Specified by:
getCurrentEntry in interface SPLogInterface
Returns:
obj - Object - An Object of type entry

getLogLength

public int getLogLength()
This method returns the number of logged objects in the log instance.

Specified by:
getLogLength in interface SPLogInterface
Returns:
length - int - number of entries in Log

getLogtype

public java.lang.String getLogtype()
This method returns the log type of the log class that implements this log interface.

Specified by:
getLogtype in interface SPLogInterface
Returns:
logtype - String - log type of the log

SecurePlayLibray J2SE
v2.1

2006 Copyright Filed by IT GlobalSecure, Inc. All Rights Reserved. Not to be used without authorization by Author. SecurePlay, IT GlobalSecure, and IT Armor are registered trademarks by IT GlobalSecure, Inc. Software protected by software license, and one or more the following U.S. and International patent numbers: U.S. Patent 6,030,288, U.S. Patent 6,165,072, European Patent Office EP1016049A1,and World Intellectual Property Organization WO9912135C1 and additional filings worldwide.