Prism.extensions.component
Class ExtensibleComponent

java.lang.Object
  extended by Prism.core.Brick
      extended by Prism.core.Component
          extended by Prism.extensions.component.ExtensibleComponent
All Implemented Interfaces:
java.io.Serializable, IComponent

public class ExtensibleComponent
extends Component

See Also:
Serialized Form

Field Summary
 
Fields inherited from class Prism.core.Brick
name, scaffold
 
Fields inherited from interface Prism.core.IComponent
CONNS_PER_COMPONENT
 
Constructor Summary
ExtensibleComponent(java.lang.String name)
           
ExtensibleComponent(java.lang.String name, int style, AbstractImplementation pImplementation)
           
 
Method Summary
 void addCompSynchronism(AbstractCompSynchronism pCompSynchronism)
           
 void handle(Event e)
          Handling of Event.
 void send(Event e)
          This method sends the event up/down the Prism architecture that this component is a part of.
 
Methods inherited from class Prism.core.Component
addCompPort, getCompPorts, getImplementation, removeCompPort, setImplementation, start
 
Methods inherited from class Prism.core.Brick
add, getStyle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensibleComponent

public ExtensibleComponent(java.lang.String name)

ExtensibleComponent

public ExtensibleComponent(java.lang.String name,
                           int style,
                           AbstractImplementation pImplementation)
Method Detail

addCompSynchronism

public void addCompSynchronism(AbstractCompSynchronism pCompSynchronism)

send

public void send(Event e)
Description copied from class: Component
This method sends the event up/down the Prism architecture that this component is a part of.

Specified by:
send in interface IComponent
Overrides:
send in class Component
Parameters:
e - a Event to be sent to the Brick above/below.

handle

public void handle(Event e)
Description copied from class: Component
Handling of Event. This is application specific code and should be implemented by subclasses of this class.

Specified by:
handle in interface IComponent
Overrides:
handle in class Component
Parameters:
e - Event to be handled