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

IEvent Struct Reference

Inheritance diagram for IEvent:

ClusterEvent List of all members.

Public Types

enum  Style { Bulletin, Message }

Public Member Functions

IChannel getChannel ()
Style getStyle ()
char[] getStyleName ()
void invoke (IPayload payload)
void reply (char[] channel, IPayload payload)

Detailed Description

An IEvent is passed to each listener as an argument to the IEventListener callback interface.

Definition at line 49 of file IEvent.d.


Member Enumeration Documentation

enum Style
 

The supported styles of event/listener

Enumeration values:
Bulletin 
Message 

Definition at line 57 of file IEvent.d.


Member Function Documentation

IChannel getChannel  ) 
 

Return the channel used to initiate the listener

Reimplemented in ClusterEvent.

Referenced by MessageConsumer::invoke(), BulletinConsumer::notify(), CacheInvalidatee::notify(), testClusterQueue(), and BulletinConsumer::this().

Style getStyle  ) 
 

Return the style of the listener.

Reimplemented in ClusterEvent.

char [] getStyleName  ) 
 

Return the style name of the listener.

Reimplemented in ClusterEvent.

Referenced by Cluster::createConsumer().

void invoke IPayload  payload  ) 
 

Invoke the listener with the specified payload

Reimplemented in ClusterEvent.

Referenced by MessageConsumer::invoke(), and BulletinConsumer::invoke().

void reply char[]  channel,
IPayload  payload
 

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

Reimplemented in ClusterEvent.

Referenced by testClusterMessage().


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