PureMVC.Interfaces.INotification Interface Reference

The interface definition for a PureMVC Notification. More...

Inheritance diagram for PureMVC.Interfaces.INotification:

PureMVC.Patterns.Notification

List of all members.

Public Member Functions

string ToString ()
 Get the string representation of the INotification instance.

Properties

string Name [get]
 The name of the INotification instance.
object Body [get, set]
 The body of the INotification instance.
string Type [get, set]
 The type of the INotification instance.


Detailed Description

The interface definition for a PureMVC Notification.

PureMVC does not rely upon underlying event models

The Observer Pattern as implemented within PureMVC exists to support event-driven communication between the application and the actors of the MVC triad

Notifications are not meant to be a replacement for Events. Generally, IMediator implementors place event handlers on their view components, which they then handle in the usual way. This may lead to the broadcast of Notifications to trigger ICommands or to communicate with other IMediators. IProxy and ICommand instances communicate with each other and IMediators by broadcasting INotifications

PureMVC.Interfaces.IView PureMVC.Interfaces.IObserver


Member Function Documentation

string PureMVC.Interfaces.INotification.ToString (  ) 

Get the string representation of the INotification instance.

Returns:
The string representation of the INotification instance

Implemented in PureMVC.Patterns.Notification.


Property Documentation

object PureMVC.Interfaces.INotification.Body [get, set]

The body of the INotification instance.

Implemented in PureMVC.Patterns.Notification.

string PureMVC.Interfaces.INotification.Name [get]

The name of the INotification instance.

No setter, should be set by constructor only

Implemented in PureMVC.Patterns.Notification.

string PureMVC.Interfaces.INotification.Type [get, set]

The type of the INotification instance.

Implemented in PureMVC.Patterns.Notification.


The documentation for this interface was generated from the following file:

Generated on Thu Jan 1 16:26:46 2009 for PureMVC by  doxygen 1.5.8