A B C D E F G H I L M N P R S T U V W

A

add(Brick) - Method in class Prism.framework.Architecture
This method will add a component instance comp to the architecture enabling comp to send/recieve messages from this architecture.
add(Brick) - Method in interface Prism.framework.IArchitecture
This method will add a component instance comp to the architecture enabling comp to send/recieve messages from this architecture.
add(Message) - Method in class Prism.framework.Brick
Add a message to the dispatcher
add(Message) - Method in interface Prism.framework.IDispatch
Add a message to the list in an arbitrary order.
add(Message) - Method in class Prism.conn.basic.FIFODispatch
Add a message to the beginning of the queue.
add(Object) - Method in class Prism.util.DynamicArray
 
addEventDescriptor(int, Object) - Method in class Prism.framework.ArchitectureEvent
adds an event descriptor.
addParameter(String, Object) - Method in class Prism.framework.Message
Adds a name-value pair to the message object.
Address - class Prism.util.Address.
The Address class can handle the assigned multi-digit address that is used to identify the object It provides an implementation independent way of defining the id of an object.
Address(long) - Constructor for class Prism.util.Address
Constructor used only by the Address class to create a range of addresses
Address(String) - Constructor for class Prism.util.Address
Create an address based on a string representation of the address
AddressList - class Prism.util.AddressList.
The AddressList class can manage a list of assigned addresses and It supports allocation and deallocation of addresses.
AddressList(Address, int) - Constructor for class Prism.util.AddressList
Constructor for address list of reserved addresses to create a list of addresses starting at start
addToBottom(Brick) - Method in class Prism.framework.Connector
Connect the component to the lBottom of this connector
addToBottom(Brick) - Method in class Prism.framework.ArchitectureAdapter
 
addToBottom(Brick) - Method in interface Prism.framework.IConnector
Connect the component to the lBottom of this connector
addToSide(Brick) - Method in class Prism.framework.PeerConnector
Connect the component to the lPeer of this connector
addToSide(Brick) - Method in interface Prism.framework.IPeerConnector
Connect the brick to the side of this connector
addToSide(Brick) - Method in class Prism.framework.ArchitectureAdapter
 
addToTop(Brick) - Method in class Prism.framework.Connector
Connect the component to the lTop of this connector
addToTop(Brick) - Method in class Prism.framework.ArchitectureAdapter
 
addToTop(Brick) - Method in interface Prism.framework.IConnector
Connect the component to the lTop of this connector
APP_DATA - Static variable in interface Prism.framework.MessageConstants
 
ARCH_MODEL - Static variable in interface Prism.framework.MessageConstants
 
Architecture - class Prism.framework.Architecture.
Base class for the Prism Architecture.
Architecture() - Constructor for class Prism.framework.Architecture
An empty constructor that gives an architecture the name "Prism Architecture".
Architecture(String) - Constructor for class Prism.framework.Architecture
This constructor sets the name of this architecture to str.
ArchitectureAdapter - class Prism.framework.ArchitectureAdapter.
Architecture is an abstract class and needs to be sub classed to be instantiated.
ArchitectureAdapter(String) - Constructor for class Prism.framework.ArchitectureAdapter
ArchitectureAdapter is constructed simply with a name.
ArchitectureEvent - class Prism.framework.ArchitectureEvent.
Architecture events are used to notify any interested gauges about events that affect the structure of the system or a sub system.
ArchitectureEvent(Address, String) - Constructor for class Prism.framework.ArchitectureEvent
Constructor
ArchitectureEvent(Address, String, int) - Constructor for class Prism.framework.ArchitectureEvent
Constructor
ArchitectureEventConstants - interface Prism.framework.ArchitectureEventConstants.
ArchitectureEventConstants is the interface containing string constants for various architecture events
array - Variable in class Prism.util.DynamicArrayIterator
 

B

BottomBorderConnector - class Prism.conn.distribution.bottom.BottomBorderConnector.
This class is used on JVM platform, for establishing connection(s) using sockets.
BottomBorderConnector(String, int, String) - Constructor for class Prism.conn.distribution.bottom.BottomBorderConnector
constructor
BottomComponent - class Prism.test.bottom.BottomComponent.
 
BottomComponent(String) - Constructor for class Prism.test.bottom.BottomComponent
 
bottomId - Variable in class Prism.framework.Brick
A identifying address for the bottom of the brick as a part of the architecture.
Brick - class Prism.framework.Brick.
Brick is the abstract building block for architectures.
Brick(String) - Constructor for class Prism.framework.Brick
A simple constructor to store the components name, and to assign it a unique ID

C

call(String, Object) - Method in interface Prism.framework.IScaffold
Make an asynchronous call to another component
call(String, Object) - Method in class Prism.framework.Scaffold
 
call(String, Object, boolean) - Method in interface Prism.framework.IScaffold
Make a call to another component
call(String, Object, boolean) - Method in class Prism.framework.Scaffold
 
COMP_ADDED - Static variable in interface Prism.conn.MessageConstants
 
COMP_ADDRESS - Static variable in interface Prism.conn.MessageConstants
 
COMP_ADDRESS_CHANGED - Static variable in interface Prism.conn.MessageConstants
 
COMP_CONTENT - Static variable in interface Prism.framework.MessageConstants
 
COMP_NAME - Static variable in interface Prism.conn.MessageConstants
 
Component - class Prism.framework.Component.
This class defines the basic Prism component and the send methods that allow any class extending this one to interact with the architecture.
Component(String) - Constructor for class Prism.framework.Component
This constructor just calls on the Brick(String) constructor.
ComponentThread - class Prism.framework.ComponentThread.
A ComponentThread is used when an active component is required to operate even when it is not processing messages.
ComponentThread() - Constructor for class Prism.framework.ComponentThread
Create a ComponentThread without a name
ComponentThread(String) - Constructor for class Prism.framework.ComponentThread
Create a ComponentThread with a specified name
CONN_ADDRESS_CHANGED - Static variable in interface Prism.conn.MessageConstants
 
connect(String, int, String) - Method in class Prism.conn.distribution.top.TopBorderConnector
This method is used to create a connection between this TopBorderConnector and the desired BottomBorderConnector.
Connector - class Prism.framework.Connector.
A connector provides interaction and mediation services to attached components.
Connector(String) - Constructor for class Prism.framework.Connector
Constructor for connector that defines a simple connector with the given name
Connector(String, int, int) - Constructor for class Prism.framework.Connector
 
ConnectorThread - class Prism.framework.ConnectorThread.
ConnectorThread is used for dispatching messages as well as performing background tasks
ConnectorThread(String) - Constructor for class Prism.framework.ConnectorThread
Construct the named ConnectorThread
count - Variable in class Prism.test.bottom.BottomComponent
 
count - Variable in class Prism.test.peer.RightComponent
 
count - Variable in class Prism.test.peer.LeftComponent
 
currentConnection - Variable in class Prism.conn.distribution.bottom.BottomBorderConnector
 

D

DISPATCH - Static variable in interface Prism.framework.ScaffoldConstants
 
DynamicArray - class Prism.util.DynamicArray.
 
DynamicArray() - Constructor for class Prism.util.DynamicArray
 
DynamicArray(int) - Constructor for class Prism.util.DynamicArray
 
DynamicArrayIterator - class Prism.util.DynamicArrayIterator.
 
DynamicArrayIterator(DynamicArray) - Constructor for class Prism.util.DynamicArrayIterator
 

E

equals(Address) - Method in class Prism.util.Address
Compare the address given to the address of this object
equals(long) - Method in class Prism.util.Address
 
EventObject - class Prism.util.EventObject.
The Event class is the abstract root class from which all event state objects shall be derived.
EventObject(Object) - Constructor for class Prism.util.EventObject
Constructs a prototypical Event.

F

FIFODispatch - class Prism.conn.basic.FIFODispatch.
A simple FIFO based message store which allows a dynamic set of queue to be handled in the architecture.
FIFODispatch() - Constructor for class Prism.conn.basic.FIFODispatch
Create the message store with DEFAULT_SIZE elements
FIFODispatch(int) - Constructor for class Prism.conn.basic.FIFODispatch
Create the message store
fireEvent(ArchitectureEvent) - Method in class Prism.framework.Brick
Fire an event if the architecture has scaffolds
Forwarder - class Prism.framework.Forwarder.
The forwarder component.
Forwarder() - Constructor for class Prism.framework.Forwarder
Default constructor
Forwarder(String) - Constructor for class Prism.framework.Forwarder
Constructor

G

get(int) - Method in class Prism.util.DynamicArrayIterator
 
get(int) - Method in class Prism.util.DynamicArray
 
getBottom() - Method in class Prism.framework.Component
Get the connector at the bottom
getBottom() - Method in class Prism.framework.Connector
Get the connector at the bottom
getBottom() - Method in class Prism.framework.ArchitectureAdapter
Get the connector at the bottom
getBottomId() - Method in class Prism.framework.Brick
Get the numeric identifier for the bottom of this brick
getBrickByInstanceName(String) - Method in class Prism.framework.Architecture
 
getComponents() - Method in class Prism.framework.Architecture
This method returns the array of components.
getConnections() - Method in class Prism.conn.distribution.top.TopBorderConnector
Get the vector of connections
getDegradedTag(String) - Method in class Prism.conn.distribution.top.TopBorderConnector
 
getEventDescriptor(int) - Method in class Prism.framework.ArchitectureEvent
Returns event descriptor at a given index.
getEventDescriptors() - Method in class Prism.framework.ArchitectureEvent
Returns event descriptors.
getFirst() - Method in class Prism.util.DynamicArray
 
getFlagPing() - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
 
getFreeCount() - Method in class Prism.util.AddressList
 
getMessage() - Method in interface Prism.framework.IDispatch
Get the next message to be dispatched in an arbitrary order.
getMessage() - Method in class Prism.conn.basic.FIFODispatch
Get a message from the head of the queue and remove it from the message store, although the message object itself is not deleted.
getNext() - Method in class Prism.util.DynamicArrayIterator
 
getNext() - Method in class Prism.util.DynamicArray
 
getNextAddress() - Method in class Prism.util.AddressList
Obtain the next available address in the range of assigned addresses
getNumeric() - Method in class Prism.util.Address
 
getParameter(String) - Method in class Prism.framework.Message
Removes a parameter from the message object.
getPercentConnected(int) - Method in class Prism.conn.distribution.top.TopBorderConnector
Method for retrieving the percent of the time a connection with a given identificator was active.
getPercentDisconnected(int) - Method in class Prism.conn.distribution.top.TopBorderConnector
Method for retrieving the percent of the time a connection with a given identificator was inactive.
getRange() - Method in class Prism.util.AddressList
 
getReference(String) - Method in class Prism.framework.Architecture
This method returns a reference of a component with a given name (if it exists)
getSide() - Method in class Prism.framework.Component
Get the connector at the side
getSide() - Method in class Prism.framework.PeerConnector
Get the connector at the side
getSide() - Method in class Prism.framework.ArchitectureAdapter
Get the connector at the side
getSideId() - Method in class Prism.framework.Brick
Get the numeric identifier for top of this brick
getSource() - Method in class Prism.util.EventObject
The object on which the Event initially occurred.
getThreadCount() - Method in class Prism.conn.basic.RoundRobinScheduler
This method returns the current count of the threads servicing the message queue.
getTop() - Method in class Prism.framework.Component
Get the connector at the top
getTop() - Method in class Prism.framework.Connector
Get the connector at the top
getTop() - Method in class Prism.framework.ArchitectureAdapter
Get the connector at the top
getTopId() - Method in class Prism.framework.Brick
Get the numeric identifier for top of this brick
getType() - Method in interface Prism.framework.IScaffold
Get the type of scaffold to identify the types of services provided
getType() - Method in class Prism.framework.Scaffold
 
getWaitingLength() - Method in interface Prism.framework.IDispatch
Get the number of messages waiting to be dispatched.
getWaitingLength() - Method in class Prism.conn.basic.FIFODispatch
Get the number of queued messages waiting to be dispatched

H

handle(Message) - Method in class Prism.framework.Brick
Both connectors and components need to handle messages.
handle(Message) - Method in class Prism.framework.Component
Call the appropriate handle method depending on the type of the message
handle(Message) - Method in class Prism.framework.PeerConnector
 
handle(Message) - Method in class Prism.framework.Connector
Direct the message to all the bricks attached to the opposite side
handle(Message) - Method in class Prism.framework.Architecture
This method will define the action to be taken by this architecture when it recieves a message from another component/connector attached to it.
handle(Notification) - Method in class Prism.framework.Component
Handling of Notifications.
handle(Notification) - Method in class Prism.framework.Forwarder
Handling the Notifications
handle(Notification) - Method in class Prism.framework.Connector
Direct the notification to all the bricks attached to the bottom
handle(Notification) - Method in class Prism.conn.distribution.top.TopBorderConnector
This method will be invoked when a new notification arrives via the socket.
handle(Notification) - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
This method hanles a given notification by dispatching it to all active socket connections.
handle(Notification) - Method in class Prism.test.bottom.BottomComponent
 
handle(Peer) - Method in class Prism.framework.Component
Handling of Peer messages.
handle(Peer) - Method in class Prism.framework.PeerConnector
Direct the peer to all the bricks attached to the connector other than the source brick
handle(Peer) - Method in class Prism.test.peer.RightComponent
 
handle(Peer) - Method in class Prism.test.peer.LeftComponent
 
handle(Request) - Method in class Prism.framework.Component
Handling of requests.
handle(Request) - Method in class Prism.framework.Forwarder
Handling the Requests
handle(Request) - Method in class Prism.framework.Connector
Direct the request to all the bricks attached to the top
handle(Request) - Method in class Prism.conn.distribution.top.TopBorderConnector
This method will dispatch the request trhough all of its active connections.
handle(Request) - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
This method is invoked by the Connection object, once a request is received via the network.
handle(Request) - Method in class Prism.test.top.TopComponent
 
hasActiveConnections() - Method in class Prism.conn.distribution.top.TopBorderConnector
This method returns the index of the first active collection or -1 if there are no active connections.
hasActiveConnections() - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
This method returns the index of the first ACTIVE connection in the connection collection
hasBottom() - Method in class Prism.framework.Component
Find out if the brick has connected bricks at its bottom
hasBottom() - Method in class Prism.framework.Connector
Find out if the brick has connected bricks at its bottom
hasBottom() - Method in class Prism.framework.ArchitectureAdapter
Find out if the brick has connected bricks at its bottom
hasInactiveConnections() - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
This method returns the index of the first INACTIVE connection in the connection collection
hasNext() - Method in class Prism.util.DynamicArrayIterator
 
hasNext() - Method in class Prism.util.DynamicArray
 
hasParameter(String) - Method in class Prism.framework.Message
Checks to see if the message contains a name-value pair identified by name.
hasSide() - Method in class Prism.framework.Component
Find out if the brick has connected bricks at its side
hasSide() - Method in class Prism.framework.PeerConnector
Find out if the brick has connected bricks at its side
hasSide() - Method in class Prism.framework.ArchitectureAdapter
Find out if the brick has connected bricks at its side
hasTop() - Method in class Prism.framework.Component
Find out if the brick has connected bricks at its top
hasTop() - Method in class Prism.framework.Connector
Find out if the brick has connected bricks at its top
hasTop() - Method in class Prism.framework.ArchitectureAdapter
Find out if the brick has connected bricks at its top
head - Variable in class Prism.util.DynamicArray
 
headList - Variable in class Prism.util.DynamicArray
 

I

IArchitecture - interface Prism.framework.IArchitecture.
The IArchitecture interface defines methods that only an architecture implements since it is known to be composite.
IComponent - interface Prism.framework.IComponent.
This interface defines the additional services to be provided by a component.
IConnector - interface Prism.framework.IConnector.
This interface allows components and connectors to be tied to the sides of a connector.
id - Variable in class Prism.framework.ArchitectureEvent
a unique identifier for the event
id - Variable in class Prism.framework.Message
a unique identifier for the message
identifyMyself() - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
 
IDispatch - interface Prism.framework.IDispatch.
In Prism all communication happens using messages.
IMonitor - interface Prism.framework.IMonitor.
IMonitor is the interface which should be implemented by the component that wants to monitor architecture events.
indexOf(Object) - Method in class Prism.util.DynamicArrayIterator
 
indexOf(Object) - Method in class Prism.util.DynamicArray
 
IPeerConnector - interface Prism.framework.IPeerConnector.
This interface allows components and connectors to be tied to the sides of a connector.
isBlockedForSend - Variable in class Prism.conn.distribution.top.TopBorderConnector
Boolean indicating whether the connector will block after sending a request until it receives a notification.
IScaffold - interface Prism.framework.IScaffold.
IMonitor defines a simple way of monitoring any events of interest.
IScheduler - interface Prism.framework.IScheduler.
IScheduler defines an interface for performing architecture level scheduling of the processing of messages.
iterator - Variable in class Prism.util.DynamicArrayIterator
 
iterator - Variable in class Prism.util.DynamicArray
 
iteratorIndex - Variable in class Prism.util.DynamicArrayIterator
 
iteratorIndex - Variable in class Prism.util.DynamicArray
 

L

LeftComponent - class Prism.test.peer.LeftComponent.
 
LeftComponent(String) - Constructor for class Prism.test.peer.LeftComponent
 
level - Variable in class Prism.framework.Message
a level of the message 0-application-data 1-component-content 2-meta-level

M

main(String[]) - Static method in class Prism.util.Address
 
main(String[]) - Static method in class Prism.test.testArchServer
 
main(String[]) - Static method in class Prism.test.testArchClient
 
Message - class Prism.framework.Message.
Message is the base class for both Notification and Request sub-classes.
Message(String) - Constructor for class Prism.framework.Message
Creates a message and stores the name as well as a sequentially generated unique id.
Message(String, Address) - Constructor for class Prism.framework.Message
Creates a message and stores the name as well as a sequentially generated unique id.
MessageConstants - interface Prism.framework.MessageConstants.
 
MessageConstants - interface Prism.conn.MessageConstants.
 
MONITOR - Static variable in interface Prism.framework.ScaffoldConstants
 
myId - Variable in class Prism.framework.Brick
 

N

name - Variable in class Prism.framework.Brick
The identifier for this Brick.
name - Variable in class Prism.framework.ArchitectureEvent
a name for the event
name - Variable in class Prism.framework.Message
The name of the message
NEW_ADDRESS - Static variable in interface Prism.conn.MessageConstants
 
nextAddress() - Method in class Prism.util.Address
 
NOTIF_BEING_HDLD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
NOTIF_HDLD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
NOTIF_RECD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
NOTIF_SENT - Static variable in interface Prism.framework.ArchitectureEventConstants
 
Notification - class Prism.framework.Notification.
Notifications are used to send messages from a component to another component below it in the Prism architectural configuration.
NOTIFICATION - Static variable in interface Prism.framework.MessageConstants
 
Notification(String) - Constructor for class Prism.framework.Notification
Creates a notification and stores the name.
Notification(String, Address) - Constructor for class Prism.framework.Notification
Creates a notification and stores the name.

P

parameterName - Variable in class Prism.framework.Message
A Hashtable that stores the names and values of the parameters passed with the message
parameterValue - Variable in class Prism.framework.Message
 
Peer - class Prism.framework.Peer.
Peers are used to send messages from a component to another component on the side it in the Prism architectural configuration.
PEER - Static variable in interface Prism.framework.MessageConstants
 
PEER_BEING_HDLD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
PEER_HDLD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
PEER_RECD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
PEER_SENT - Static variable in interface Prism.framework.ArchitectureEventConstants
 
Peer(String) - Constructor for class Prism.framework.Peer
Creates a peer and stores the name.
Peer(String, Address) - Constructor for class Prism.framework.Peer
Creates a peer and stores the name.
PeerConnector - class Prism.framework.PeerConnector.
A connector provides interaction and mediation services to attached components.
PeerConnector(String) - Constructor for class Prism.framework.PeerConnector
Constructor for connector that defines a simple connector with the given name
PeerConnectorThread - class Prism.framework.PeerConnectorThread.
PeerConnectorThread is used for dispatching peer messages as well as performing background tasks
PeerConnectorThread(String) - Constructor for class Prism.framework.PeerConnectorThread
Construct the named PeerConnectorThread
peerUnweld(Brick, Brick) - Method in class Prism.framework.Architecture
This method unwelds two bricks in peer-to-peer configuration Since there is no notion of top or bottom in peer interactions, the order of the parameters is irrelevant
peerWeld(Brick, Brick) - Method in class Prism.framework.Architecture
This method welds two bricks in peer-to-peer configuration Since there is no notion of top or bottom in peer interactions, the order of the parameters is irrelevant
prevAddress() - Method in class Prism.util.Address
 
Prism.conn - package Prism.conn
 
Prism.conn.basic - package Prism.conn.basic
 
Prism.conn.distribution.bottom - package Prism.conn.distribution.bottom
 
Prism.conn.distribution.top - package Prism.conn.distribution.top
 
Prism.framework - package Prism.framework
 
Prism.test - package Prism.test
 
Prism.test.bottom - package Prism.test.bottom
 
Prism.test.peer - package Prism.test.peer
 
Prism.test.top - package Prism.test.top
 
Prism.util - package Prism.util
 

R

releaseAddress(Address) - Method in class Prism.util.AddressList
Put back an unused address into the available range
remove(Brick) - Method in class Prism.framework.Architecture
This method removes b from the architecture and thereby preventing b from receiving anymore messages from this architecture.
remove(Brick) - Method in interface Prism.framework.IArchitecture
This method removes comp from the architecture and thereby preventing comp from receiving anymore messages from this architecture.
remove(int) - Method in class Prism.util.DynamicArray
 
remove(Object) - Method in class Prism.util.DynamicArray
 
removeFromBottom(Brick) - Method in class Prism.framework.Connector
Remove the component from the lBottom of this connector
removeFromBottom(Brick) - Method in class Prism.framework.ArchitectureAdapter
 
removeFromBottom(Brick) - Method in interface Prism.framework.IConnector
Remove the component from the lBottom of this connector
removeFromSide(Brick) - Method in class Prism.framework.PeerConnector
Remove the component from the side of this connector
removeFromSide(Brick) - Method in interface Prism.framework.IPeerConnector
Remove the brick from the side of this connector
removeFromSide(Brick) - Method in class Prism.framework.ArchitectureAdapter
 
removeFromTop(Brick) - Method in class Prism.framework.Connector
Remove the component from the lTop of this connector
removeFromTop(Brick) - Method in class Prism.framework.ArchitectureAdapter
 
removeFromTop(Brick) - Method in interface Prism.framework.IConnector
Remove the component from the lTop of this connector
removeParameter(String) - Method in class Prism.framework.Message
Removes a name-value pair from the message object.
REQ_BEING_HDLD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
REQ_HDLD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
REQ_RECD - Static variable in interface Prism.framework.ArchitectureEventConstants
 
REQ_SENT - Static variable in interface Prism.framework.ArchitectureEventConstants
 
Request - class Prism.framework.Request.
Requests are used to send messages from a component to another component above it in the Prism architectural configuration.
REQUEST - Static variable in interface Prism.framework.MessageConstants
 
Request(String) - Constructor for class Prism.framework.Request
Creates a request and stores the name.
Request(String, Address) - Constructor for class Prism.framework.Request
Creates a request, gives the address of the target, and stores the name.
reset() - Method in class Prism.util.DynamicArrayIterator
 
reset() - Method in class Prism.util.DynamicArray
 
RESOLVE_NAME - Static variable in interface Prism.conn.MessageConstants
 
RightComponent - class Prism.test.peer.RightComponent.
 
RightComponent(String) - Constructor for class Prism.test.peer.RightComponent
 
RoundRobinScheduler - class Prism.conn.basic.RoundRobinScheduler.
The RoundRobinScheduler is an example of an architecture independent scheduling co-connector.
RoundRobinScheduler(IDispatch) - Constructor for class Prism.conn.basic.RoundRobinScheduler
Create a scheduler that dispatches messages on a round robin basis with a default of DEFAULT_COUNT threads
RoundRobinScheduler(IDispatch, int) - Constructor for class Prism.conn.basic.RoundRobinScheduler
Create a scheduler that dispatches messages on a round robin basis with the given number of threads.
RoundRobinScheduler(int) - Constructor for class Prism.conn.basic.RoundRobinScheduler
Create a scheduler that dispatches messages on a round robin basis with a default of DEFAULT_COUNT threads
run() - Method in class Prism.framework.ComponentThread
Run this method all the time when started.

S

scaffold - Variable in class Prism.framework.Brick
The scaffold that might be attached to a brick.
Scaffold - class Prism.framework.Scaffold.
The type of scaffolding provided such as monitoring, message dispatching and scheduling
Scaffold(int) - Constructor for class Prism.framework.Scaffold
 
ScaffoldConstants - interface Prism.framework.ScaffoldConstants.
 
SCHEDULER - Static variable in interface Prism.framework.ScaffoldConstants
 
see(ArchitectureEvent) - Method in interface Prism.framework.IMonitor
Observe the event that has just happened
SEGMENT_LENGTH - Static variable in class Prism.framework.Message
 
segmentLength - Variable in class Prism.util.DynamicArray
 
send(Notification) - Method in class Prism.framework.Component
This method sends the Notification n down the C2 architecture that this component is a part of.
send(Notification) - Method in interface Prism.framework.IComponent
This method sends the Notification n down the C2 architecture that this component is a part of.
send(Notification) - Method in class Prism.framework.ArchitectureAdapter
 
send(Peer) - Method in class Prism.framework.Component
This method sends the peer message through the Prism architecture that this component is a part of.
send(Peer) - Method in interface Prism.framework.IComponent
This method sends the peer message p on the side of the C2 architecture that this component is a part of.
send(Peer) - Method in class Prism.framework.ArchitectureAdapter
 
send(Request) - Method in class Prism.framework.Component
This method sends the request r up the Prism architecture that this component is a part of.
send(Request) - Method in interface Prism.framework.IComponent
This method sends the request r up the C2 architecture that this component is a part of.
send(Request) - Method in class Prism.framework.ArchitectureAdapter
 
setBottom(IConnector) - Method in class Prism.framework.Component
Set the connector at the bottom
setBottom(IConnector) - Method in interface Prism.framework.IComponent
Set the connector at the bottom
setBottom(IConnector) - Method in class Prism.framework.ArchitectureAdapter
Set the connector at the bottom
setBottomFree() - Method in class Prism.framework.Component
Set the connector at the bottom to null
setBottomId(Address) - Method in class Prism.framework.Brick
Set the numeric identifier for the top of this brick
setDispatch(IDispatch) - Method in class Prism.framework.Scaffold
Set the dispatcher.
setFlagPing(boolean) - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
 
setMessageCapacity(int) - Method in interface Prism.framework.IDispatch
Set the capacity of messages that can be stored before being dispatched
setMessageCapacity(int) - Method in class Prism.conn.basic.FIFODispatch
Set the capacity of messages that can be stored before being dispatched
setMonitor(IMonitor) - Method in class Prism.framework.Scaffold
 
setName(String) - Method in class Prism.framework.Brick
Set the name of the component
setNameAfterTheFact(String) - Method in class Prism.framework.Brick
 
setScaffold(IScaffold) - Method in class Prism.framework.Brick
 
setScheduler(IScheduler) - Method in class Prism.framework.Scaffold
Set the scheduler.
setSide(IPeerConnector) - Method in class Prism.framework.Component
Set the connector at the side
setSide(IPeerConnector) - Method in interface Prism.framework.IComponent
Set the connector at the side
setSide(IPeerConnector) - Method in class Prism.framework.ArchitectureAdapter
Set the connector at the side
setSideFree() - Method in class Prism.framework.Component
Set the connector at the side to null
setSideId(Address) - Method in class Prism.framework.Brick
Set the numeric identifier for the side of this brick
setThreadCount(int) - Method in class Prism.conn.basic.RoundRobinScheduler
This method sets the number of threads this architecture uses to service the message queue to n.
setTimeStep(int) - Method in class Prism.conn.basic.RoundRobinScheduler
Set the time the thread stops before dispatching another message
setTop(IConnector) - Method in class Prism.framework.Component
Set the connector at the top
setTop(IConnector) - Method in interface Prism.framework.IComponent
Set the connector at the top
setTop(IConnector) - Method in class Prism.framework.ArchitectureAdapter
Set the connector at the top
setTopFree() - Method in class Prism.framework.Component
Set the connector at the top to null
setTopId(Address) - Method in class Prism.framework.Brick
Set the numeric identifier for the top of this brick
shutdown() - Method in interface Prism.framework.IScheduler
Terminate all scheduling and abort processing.
shutdown() - Method in class Prism.conn.basic.RoundRobinScheduler
This method exits the JVM ASAP without gently killing the threads.
sideId - Variable in class Prism.framework.Brick
A identifying address for the side of the brick as a part of the architecture.
size - Variable in class Prism.util.DynamicArray
 
size() - Method in class Prism.util.DynamicArray
 
sourceId - Variable in class Prism.framework.Message
The source id for the brick sending this message.
start() - Method in class Prism.framework.Brick
By default a brick does not do anything.
start() - Method in interface Prism.framework.IScheduler
Start the scheduler
start() - Method in class Prism.framework.Architecture
This method must be called to start the architecture and the threads that run in the architecture.
start() - Method in class Prism.conn.basic.RoundRobinScheduler
This method starts all the threads in the scheduler and allows the messages to be dispatched to the destination components.
start() - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
This method is called by the framework (if the architecture's start method is called) The method binds this connector to the given port and is always ready to accept new connections.
start() - Method in class Prism.test.bottom.BottomComponent
 
start() - Method in class Prism.test.peer.RightComponent
 
staticHead - Variable in class Prism.util.DynamicArray
 
stop() - Method in interface Prism.framework.IScheduler
Stop the scheduler.
stop() - Method in class Prism.conn.basic.RoundRobinScheduler
This method stops all the threads in the architecture and finally exits the JVM.
stopWorking() - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
This method will stop the connector from accepting new connections.
syncHandle(Notification) - Method in class Prism.conn.distribution.top.TopBorderConnector
This method will be invoked once a notification has been received and which has been expected by the connector (the connector was blocked until it received this notification - used in synchronous communication).
synchronousSend(Request) - Method in class Prism.conn.distribution.top.TopBorderConnector
This method is used when the connector should block after sending, in order to receive a remote notification synchronously.

T

tail - Variable in class Prism.util.DynamicArray
 
tailList - Variable in class Prism.util.DynamicArray
 
targetId - Variable in class Prism.framework.Message
For non-broadcast messages, use target location identifier.
tearDownConnections() - Method in class Prism.conn.distribution.top.TopBorderConnector
this method is purely for simulating link failures, while processes at both sides are up and running.
testArchClient - class Prism.test.testArchClient.
This class is for demo purposes.
testArchClient() - Constructor for class Prism.test.testArchClient
 
testArchServer - class Prism.test.testArchServer.
This class is for demo purposes.
testArchServer() - Constructor for class Prism.test.testArchServer
 
TopBorderConnector - class Prism.conn.distribution.top.TopBorderConnector.
This connector encapsulates communication accross process boundaries.
TopBorderConnector(String) - Constructor for class Prism.conn.distribution.top.TopBorderConnector
Constructor
TopComponent - class Prism.test.top.TopComponent.
 
TopComponent() - Constructor for class Prism.test.top.TopComponent
 
TopComponent(String) - Constructor for class Prism.test.top.TopComponent
 
topId - Variable in class Prism.framework.Brick
An identifying address for the top of the brick as a part of the architecture.
toString() - Method in class Prism.framework.Component
Generate a string version of the component's internal state
toString() - Method in class Prism.framework.PeerConnector
Create the stringified object with recursive description
toString() - Method in class Prism.framework.Connector
Create the stringified object with recursive description
toString() - Method in class Prism.framework.Message
Create a stringified version of this message
toString() - Method in class Prism.framework.Architecture
This method outputs the contents of the architecture object to a string
toString() - Method in class Prism.util.EventObject
Returns a String representation of this EventObject.
toString() - Method in class Prism.util.Address
Convert the address to a stringified version
toString() - Method in class Prism.util.DynamicArray
 
toString() - Method in class Prism.conn.basic.FIFODispatch
Get a string representation of the message queue.
toString(boolean) - Method in class Prism.framework.PeerConnector
Create the stringified object
toString(boolean) - Method in class Prism.framework.Connector
Create the stringified object
type - Variable in class Prism.framework.Message
a level of the message 0-request 1-notification 2-peer

U

unweld(Brick, Brick) - Method in class Prism.framework.Architecture
This method unwelds two bricks in top-to-bottom configuration
updateConnections(BottomConnection) - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
 
updateConnections(TopConnection) - Method in class Prism.conn.distribution.top.TopBorderConnector
 

V

via - Variable in class Prism.framework.Message
Intermediate brick to be used to send the message onward

W

waitOnList() - Method in class Prism.util.DynamicArray
 
weld(Brick, Brick) - Method in class Prism.framework.Architecture
This method joins the top of comp to the bottom of conn.
weld(Brick, Brick) - Method in interface Prism.framework.IArchitecture
This method joins the bottom of comp to the top of conn.
writeDisconnInfo() - Method in class Prism.conn.distribution.bottom.BottomBorderConnector
 

A B C D E F G H I L M N P R S T U V W