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

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

Detailed Description

The socket QOS implementation of IEvent

Definition at line 48 of file ClusterEvent.d.


Member Enumeration Documentation

enum Style [inherited]
 

The supported styles of event/listener

Enumeration values:
Bulletin 
Message 

Definition at line 57 of file IEvent.d.


Member Function Documentation

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

Definition at line 61 of file ClusterEvent.d.

References listener, and style.

IChannel getChannel  )  [inline]
 

Return the channel used to initiate the listener

Reimplemented from IEvent.

Definition at line 73 of file ClusterEvent.d.

IEvent Style getStyle  )  [inline]
 

Return the style of the listener.

Reimplemented from IEvent.

Definition at line 82 of file ClusterEvent.d.

References style.

char [] getStyleName  )  [inline]
 

Return the style name of the listener.

Reimplemented from IEvent.

Definition at line 91 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 100 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 113 of file ClusterEvent.d.


Member Data Documentation

IEvent Style style [private]
 

Definition at line 50 of file ClusterEvent.d.

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

ICluster cluster [private]
 

Definition at line 51 of file ClusterEvent.d.

IChannel channel [private]
 

Definition at line 52 of file ClusterEvent.d.

IEventListener listener [private]
 

Definition at line 53 of file ClusterEvent.d.

Referenced by invoke(), and this().

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

Definition at line 55 of file ClusterEvent.d.

Referenced by getStyleName().


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