Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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

Classes

class  Link

Member Function Documentation

this IChannel  channel  )  [inline, private]
 

Definition at line 573 of file ClusterCache.d.

References channel, head, and tail.

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 586 of file ClusterCache.d.

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

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 602 of file ClusterCache.d.

References count, ChannelQueue::Link::data, ChannelQueue::Link::destroy(), head, ChannelQueue::Link::next, tail, and ChannelQueue::Link::unlink().

Referenced by ClusterQueue::get().


Member Data Documentation

Link head [private]
 

Definition at line 482 of file ClusterCache.d.

Referenced by get(), and this().

Link tail [private]
 

Definition at line 482 of file ClusterCache.d.

Referenced by get(), put(), and this().

int count [private]
 

Definition at line 484 of file ClusterCache.d.

Referenced by get(), put(), and ClusterQueue::run().

IChannel channel
 

Definition at line 485 of file ClusterCache.d.

Referenced by ClusterQueue::run(), and this().


The documentation for this class was generated from the following file:
Generated on Fri May 27 18:11:59 2005 for Mango by  doxygen 1.4.0