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

Channel Class Reference

Inheritance diagram for Channel:

IChannel List of all members.

Public Member Functions

 this (char[] name)
char[] getName ()
void write (IWriter writer)
void read (IReader reader)

Public Attributes

char[] name
Buffer buffer
ProtocolReader reader
ProtocolWriter writer

Detailed Description

A channel represents something akin to a publish/subscribe topic, or a radio station. These are used to segregate cluster operations into a set of groups, where each group is represented by a channel. Channel names are whatever you want then to be: use of dot notation has proved useful in the past. See Client.createChannel

Definition at line 670 of file Cluster.d.


Member Function Documentation

this char[]  name  )  [inline]
 

Construct a channel with the specified name. We cache a number of session-related constructs here also, in order to eliminate runtime overhead

Definition at line 685 of file Cluster.d.

char [] getName  )  [inline]
 

Return the name of this channel. This is the name provided when the channel was constructed.

Reimplemented from IChannel.

Definition at line 707 of file Cluster.d.

Referenced by Cluster::getCache(), Cluster::getQueue(), Cluster::loadCache(), Cluster::putCache(), and Cluster::putQueue().

void write IWriter  writer  )  [inline]
 

Output this channel via the provided IWriter

Reimplemented from IWritable.

Definition at line 718 of file Cluster.d.

void read IReader  reader  )  [inline]
 

Input this channel via the provided IReader

Reimplemented from IReadable.

Definition at line 729 of file Cluster.d.


Member Data Documentation

char [] name
 

Definition at line 672 of file Cluster.d.

Buffer buffer
 

Definition at line 673 of file Cluster.d.

ProtocolReader reader
 

Definition at line 674 of file Cluster.d.

Referenced by Cluster::getCache(), Cluster::getQueue(), Cluster::loadCache(), Cluster::putCache(), and Cluster::putQueue().

ProtocolWriter writer
 

Definition at line 675 of file Cluster.d.

Referenced by Cluster::getCache(), Cluster::getQueue(), Cluster::loadCache(), Cluster::putCache(), and Cluster::putQueue().


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