Prism.test.top
Class TopComponent

java.lang.Object
  |
  +--Prism.framework.Brick
        |
        +--Prism.framework.Component
              |
              +--Prism.test.top.TopComponent
All Implemented Interfaces:
ArchitectureEventConstants, IComponent, ScaffoldConstants

public class TopComponent
extends Component


Fields inherited from class Prism.framework.Brick
bottomId, myId, name, scaffold, sideId, topId
 
Fields inherited from interface Prism.framework.ArchitectureEventConstants
NOTIF_BEING_HDLD, NOTIF_HDLD, NOTIF_RECD, NOTIF_SENT, PEER_BEING_HDLD, PEER_HDLD, PEER_RECD, PEER_SENT, REQ_BEING_HDLD, REQ_HDLD, REQ_RECD, REQ_SENT
 
Fields inherited from interface Prism.framework.ScaffoldConstants
DISPATCH, MONITOR, SCHEDULER
 
Constructor Summary
TopComponent()
           
TopComponent(java.lang.String name)
           
 
Method Summary
 void handle(Request r)
          Handling of requests.
 
Methods inherited from class Prism.framework.Component
getBottom, getSide, getTop, handle, handle, handle, hasBottom, hasSide, hasTop, send, send, send, setBottom, setBottomFree, setSide, setSideFree, setTop, setTopFree, toString
 
Methods inherited from class Prism.framework.Brick
add, fireEvent, getBottomId, getSideId, getTopId, setBottomId, setName, setNameAfterTheFact, setScaffold, setSideId, setTopId, start
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopComponent

public TopComponent()

TopComponent

public TopComponent(java.lang.String name)
Method Detail

handle

public void handle(Request r)
Description copied from class: Component
Handling of requests. This is application specific code and should be implemented by subclasses of this class
Overrides:
handle in class Component
Following copied from class: Prism.framework.Component
Parameters:
r - Request to be handled