Prism.framework
Class Request

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

public class Request
extends Message

Requests are used to send messages from a component to another component above it in the Prism architectural configuration. Requests are a concrete form of using messages

Version:
0.1
Author:
Nikunj Mehta, Marija 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
Request(java.lang.String str)
          Creates a request and stores the name.
Request(java.lang.String str, Address a)
          Creates a request, gives the address of the target, 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

Request

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

Request

public Request(java.lang.String str,
               Address a)
Creates a request, gives the address of the target, and stores the name.
Parameters:
str - String name of the request
a - Address of target