[Home]CsharpFBP

FlowBasedProgramming | RecentChanges | Preferences

C# Implementation of FlowBasedProgramming (C#FBP)

For more information, see:

The latest version of this (http://www.jpaulmorrison.com/fbp/CsharpFBP-2.3.zip) 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.x, and means that every "verb" (component) must be enhanced with metadata. However, this can generally be done using cut and paste, and need only be done once.

    [InPort("CTLFIELDS")]
    [InPort("IN", arrayPort = true)]
    [OutPort("OUT")]  

    public class Collate : Component {

    [MustRun]

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", typeof(yyyyy));

    "portname[index]"

where "index" is an absolute number - either in a "Connect" or an "Initialize" statement.


FlowBasedProgramming | RecentChanges | Preferences
This page is read-only - contact owner for a password | View other revisions
Last edited January 19, 2009 5:46 pm by PaulMorrison2 (diff)
Search: