[Home]JavaFBP

FlowBasedProgramming | RecentChanges | Preferences

Java Implementation of FlowBasedProgramming

For more information, see:

The latest version of this (http://www.jpaulmorrison.com/fbp/JavaFBP-2.4.jar) is available on my web site, and also on SourceForge. Its features are shown below:

The following is definitely the major change in version 2.1, and means that every "verb" (component) must be enhanced with metadata, as well as subnets. However, this information is now used (as of version 2.3) to provide descriptive information to the Diagramming tool (DrawFBP), and for possible future checks.

    @OutPort("OUT") 
    @InPorts({
      @InPort("CTLFIELDS"), 
      @InPort(value = "IN", arrayPort = true)
      })  

    public class Collate extends Component {

Other changes:

      drop(p);

where "p" is the packet.

      double _timeout = 2;   // 2 secs

          ....

      longWaitStart(_timeout);    
                                           
    //   activity taking time goes here

      longWaitEnd(); 

    connect("componentA.portname", "componentB.portname");

    component("xxxxx", yyyyy.class));

For a complete description of the API, see http://www.jpaulmorrison.com/fbp/jsyntax.htm .


FlowBasedProgramming | RecentChanges | Preferences
This page is read-only - contact owner for a password | View other revisions
Last edited March 10, 2009 8:17 pm by PaulMorrison (diff)
Search: