Prism.test.peer
Class LeftComponent

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

public class LeftComponent
extends Component


Field Summary
 int count
           
 
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
LeftComponent(java.lang.String name)
           
 
Method Summary
 void handle(Peer r)
          Handling of Peer messages.
 
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
 

Field Detail

count

public int count
Constructor Detail

LeftComponent

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

handle

public void handle(Peer r)
Description copied from class: Component
Handling of Peer messages. 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:
p - Peer message to be handled