com.isti.util
Class IstiMessageObjectCache.BasicMessageObjectEntry

java.lang.Object
  extended by com.isti.util.IstiTimeObjectCache.BasicTimeObjectEntry
      extended by com.isti.util.IstiMessageObjectCache.BasicMessageObjectEntry
All Implemented Interfaces:
IstiMessageObjectCache.MessageObjectEntry, IstiTimeObjectCache.TimeObjectEntry
Direct Known Subclasses:
IstiMessageCachedArchive.BasicArchivableMsgObjEntry
Enclosing class:
IstiMessageObjectCache

public static class IstiMessageObjectCache.BasicMessageObjectEntry
extends IstiTimeObjectCache.BasicTimeObjectEntry
implements IstiMessageObjectCache.MessageObjectEntry

Message object entry class.


Field Summary
protected  long msgNum
           
 
Fields inherited from class com.isti.util.IstiTimeObjectCache.BasicTimeObjectEntry
dataObj, dataSize, keyStr, timeGenerated
 
Constructor Summary
protected IstiMessageObjectCache.BasicMessageObjectEntry()
          No-argument constructor for subclasses.
  IstiMessageObjectCache.BasicMessageObjectEntry(long timeGenerated, java.lang.Object msgObj, java.lang.String msgStr, long msgNum)
          Creates a message object entry.
 
Method Summary
 long getMsgNum()
          Returns the message number.
 
Methods inherited from class com.isti.util.IstiTimeObjectCache.BasicTimeObjectEntry
getDataObj, getDataSize, getKeyStr, getTimeGenerated, setDataSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.isti.util.IstiTimeObjectCache.TimeObjectEntry
getDataObj, getDataSize, getKeyStr, getTimeGenerated
 

Field Detail

msgNum

protected long msgNum
Constructor Detail

IstiMessageObjectCache.BasicMessageObjectEntry

public IstiMessageObjectCache.BasicMessageObjectEntry(long timeGenerated,
                                                      java.lang.Object msgObj,
                                                      java.lang.String msgStr,
                                                      long msgNum)
Creates a message object entry.

Parameters:
timeGenerated - the time the message was generated.
msgObj - message object.
msgStr - message string.
msgNum - message number.

IstiMessageObjectCache.BasicMessageObjectEntry

protected IstiMessageObjectCache.BasicMessageObjectEntry()
No-argument constructor for subclasses.

Method Detail

getMsgNum

public long getMsgNum()
Returns the message number.

Specified by:
getMsgNum in interface IstiMessageObjectCache.MessageObjectEntry