Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Gliffy Diagram
sizeL
nameHelloPE
alignleft
version2

Note: these instructions are currently for the S4-22 branch

...

A look at the sample project content

The src/main/java/hello directory contains 3 files: 

...

  • HelloPE.java : a very simple PE that simply prints the name contained in incoming events
    Gliffy Diagram
    sizeL
    nameHelloPE
    alignleft
    version2
  • HelloApp.java: defines a simple application: exposes an input stream --> a very simple PE: simply prints the name contained in incoming events HelloApp.java --> defines a simple application: exposes an input stream ("names"), connected to the HelloPE HelloInputAdapter --> a simple adapter that reads character lines from a socket, converts them into events, and sends the events to interested S4 apps, through the "names" stream
  • HelloInputAdapter is a simple adapter that reads character lines from a socket, converts them into events, and sends the events to interested S4 apps, through the "names" stream

Run the sample project