VoteCache Class Reference

Client-side vote cache. More...

List of all members.

Public Member Functions

void BeginReceive ()
 Begin receiving.
void Clear ()
 Clear the cache.

Public Attributes

int ChunkSize
 Item request size.
int NumTotal
 Item total.
int NumCached
 Cache total.
int VotePercent
 Vote percentage.
bool bReceivingItems
 Receiving signal.
VoteCacheList Items
 Item list.
VoteCacheList VotedItems
 Voted item list.
String Identifier
 Item identifier.


Detailed Description

A client-side cache of votable items.

Member Function Documentation

void BeginReceive (  ) 

Send a request to the server to begin receiving our items.

void Clear (  ) 

Clear all of the items in this cache.


Member Data Documentation

int ChunkSize

The number of items the server sends at a time.

int NumTotal

The total number of votable items.

int NumCached

The total number of items that have been cached.

The percentage of votes that is needed for an item to win the vote.

Whether this cache is currently receiving items.

The list of items and their votes.

A list of all voted items.

String Identifier

An identifier that specifies the type of items stored in this cache.


Generated on Tue Jun 2 16:26:38 2009 for EDM6 by  doxygen 1.5.6