Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ChannelQueue Class Reference

List of all members.

Public Attributes

IChannel channel

Private Member Functions

 this (IChannel channel)
void put (ClusterContent content)
ClusterContent get ()

Private Attributes

Link head
Link tail
int count

Member Function Documentation

this IChannel  channel  )  [inline, private]
 

Definition at line 565 of file ClusterCache.d.

void put ClusterContent  content  )  [inline, private]
 

Add the specified content to the queue at the current tail position, and bump tail to the next Link

Definition at line 578 of file ClusterCache.d.

References ChannelQueue::Link::append(), ClusterContent, ChannelQueue::Link::create(), and ChannelQueue::Link::data.

Referenced by ClusterQueue::put().

ClusterContent get  )  [inline, private]
 

Extract from the head, which is the oldest item in the queue. The removed Link is then appended to the tail, ready for another put. Head is adjusted to point at the next valid queue entry.

Definition at line 594 of file ClusterCache.d.

References ClusterContent, ChannelQueue::Link::data, ChannelQueue::Link::destroy(), ChannelQueue::Link::next, and ChannelQueue::Link::unlink().

Referenced by ClusterQueue::get().


Member Data Documentation

Link head [private]
 

Definition at line 474 of file ClusterCache.d.

Link tail [private]
 

Definition at line 474 of file ClusterCache.d.

int count [private]
 

Definition at line 476 of file ClusterCache.d.

Referenced by ClusterQueue::run().

IChannel channel
 

Definition at line 477 of file ClusterCache.d.

Referenced by ClusterQueue::run().


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:00 2004 for Mango by doxygen 1.3.6