com.realtime.crossfire.jxclient.metaserver.Info Class Reference

Collaboration diagram for com.realtime.crossfire.jxclient.metaserver.Info:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Info (@NotNull final MetaserverEntry metaserverEntry)
 Info (@NotNull final MetaserverEntry metaserverEntry, final long timestamp)
MetaserverEntry getMetaserverEntry ()
long getTimestamp ()

Detailed Description

An entry in the cache. It consists of a MetaserverEntry and a timestamp of last update.

Author:
Andreas Kirschbaum

Definition at line 31 of file Info.java.


Constructor & Destructor Documentation

com.realtime.crossfire.jxclient.metaserver.Info.Info ( @NotNull final MetaserverEntry  metaserverEntry  ) 

Creates a new instance. Sets the timestamp to "now".

Parameters:
metaserverEntry the metaserver entry

Definition at line 48 of file Info.java.

com.realtime.crossfire.jxclient.metaserver.Info.Info ( @NotNull final MetaserverEntry  metaserverEntry,
final long  timestamp 
)

Creates a new instance.

Parameters:
metaserverEntry the metaserver entry
timestamp the timestamp

Definition at line 57 of file Info.java.


Member Function Documentation

MetaserverEntry com.realtime.crossfire.jxclient.metaserver.Info.getMetaserverEntry (  ) 

Returns the metaserver entry.

Returns:
the metaserver entry

Definition at line 67 of file Info.java.

long com.realtime.crossfire.jxclient.metaserver.Info.getTimestamp (  ) 

Returns the timestamp.

Returns:
the timestamp

Definition at line 75 of file Info.java.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Nov 6 15:56:25 2011 for Crossfire JXClient, Trunk by  doxygen 1.6.3