Prism.framework
Class Notification

java.lang.Object
  |
  +--Prism.framework.Message
        |
        +--Prism.framework.Notification
All Implemented Interfaces:
MessageConstants

public class Notification
extends Message

Notifications are used to send messages from a component to another component below it in the Prism architectural configuration. Notifications are a concrete form of using messages. Notifications are not always issued in response to received messages. They can be issued independently of requests.

Version:
0.1
Author:
Nikunj Mehta, Marija Mikic-Rakic

Fields inherited from class Prism.framework.Message
id, level, name, parameterName, parameterValue, SEGMENT_LENGTH, sourceId, targetId, type, via
 
Fields inherited from interface Prism.framework.MessageConstants
APP_DATA, ARCH_MODEL, COMP_CONTENT, NOTIFICATION, PEER, REQUEST
 
Constructor Summary
Notification(java.lang.String str)
          Creates a notification and stores the name.
Notification(java.lang.String str, Address a)
          Creates a notification and stores the name.
 
Methods inherited from class Prism.framework.Message
addParameter, getParameter, hasParameter, removeParameter, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Notification

public Notification(java.lang.String str)
Creates a notification and stores the name.
Parameters:
str - String name of the notification

Notification

public Notification(java.lang.String str,
                    Address a)
Creates a notification and stores the name.
Parameters:
str - String name of the notification
a - Address of target