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

ClusterEvent Class Reference

Inheritance diagram for ClusterEvent:

IEvent List of all members.

Public Member Functions

 this (ICluster cluster, IChannel channel, IEvent.Style style, IEventListener listener)
IChannel getChannel ()
IEvent Style getStyle ()
char[] getStyleName ()
void invoke (IPayload payload)
void reply (char[] channel, IPayload payload)

Private Types

enum  Style { Bulletin, Message }

Private Attributes

IEvent Style style
ICluster cluster
IChannel channel
IEventListener listener

Static Private Attributes

static char[][] styleNames = ["bulletin", "message"]

Detailed Description

The socket QOS implementation of IEvent

Definition at line 51 of file ClusterEvent.d.


Member Enumeration Documentation

enum Style [inherited]
 

The supported styles of event/listener

Enumeration values:
Bulletin 
Message 

Definition at line 60 of file IEvent.d.


Member Function Documentation

this ICluster  cluster,
IChannel  channel,
IEvent.Style  style,
IEventListener  listener
[inline]
 

Definition at line 64 of file ClusterEvent.d.

References channel, cluster, listener, and style.

IChannel getChannel  )  [inline]
 

Return the channel used to initiate the listener

Reimplemented from IEvent.

Definition at line 76 of file ClusterEvent.d.

References channel.

IEvent Style getStyle  )  [inline]
 

Return the style of the listener.

Reimplemented from IEvent.

Definition at line 85 of file ClusterEvent.d.

References style.

char [] getStyleName  )  [inline]
 

Return the style name of the listener.

Reimplemented from IEvent.

Definition at line 94 of file ClusterEvent.d.

References style, and styleNames.

void invoke IPayload  payload  )  [inline]
 

Invoke the listener with the specified payload

Reimplemented from IEvent.

Definition at line 103 of file ClusterEvent.d.

References listener, and IEventListener::notify().

void reply char[]  channel,
IPayload  payload
[inline]
 

Send a payload back to the producer. This should support all the various event styles.

Reimplemented from IEvent.

Definition at line 116 of file ClusterEvent.d.

References assert(), and channel.


Member Data Documentation

IEvent Style style [private]
 

Definition at line 53 of file ClusterEvent.d.

Referenced by getStyle(), getStyleName(), and this().

ICluster cluster [private]
 

Definition at line 54 of file ClusterEvent.d.

Referenced by this().

IChannel channel [private]
 

Definition at line 55 of file ClusterEvent.d.

Referenced by getChannel(), reply(), and this().

IEventListener listener [private]
 

Definition at line 56 of file ClusterEvent.d.

Referenced by invoke(), and this().

char [][] styleNames = ["bulletin", "message"] [static, private]
 

Definition at line 58 of file ClusterEvent.d.

Referenced by getStyleName().


The documentation for this class was generated from the following file:
Generated on Mon Nov 14 10:59:49 2005 for Mango by  doxygen 1.4.0