Prism.test.components
Class HelloWorldClient

java.lang.Object
  extended by Prism.core.Brick
      extended by Prism.core.Component
          extended by Prism.test.components.HelloWorldClient
All Implemented Interfaces:
java.io.Serializable, IBrick, IComponent

public class HelloWorldClient
extends Component

See Also:
Serialized Form

Field Summary
static int EVT_HELLO_WORLD
           
static int HELLO_MESSAGE
           
 
Fields inherited from interface Prism.core.IComponent
CONNS_PER_COMPONENT
 
Constructor Summary
HelloWorldClient(java.lang.String name)
           
 
Method Summary
 void handle(Event evt)
          Handling of Event.
 
Methods inherited from class Prism.core.Component
addPort, getImplementation, getPorts, removePort, send, setImplementation, start
 
Methods inherited from class Prism.core.Brick
add, getName, getScaffold, getStyle, setName, setScaffold
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Prism.core.IBrick
add, getName, getScaffold, getStyle, setName, setScaffold
 

Field Detail

EVT_HELLO_WORLD

public static final int EVT_HELLO_WORLD
See Also:
Constant Field Values

HELLO_MESSAGE

public static final int HELLO_MESSAGE
See Also:
Constant Field Values
Constructor Detail

HelloWorldClient

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

handle

public void handle(Event evt)
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 IBrick
Specified by:
handle in interface IComponent
Overrides:
handle in class Component
Parameters:
evt - Event to be handled