Changes between Version 14 and Version 15 of MiddleWareConnection


Ignore:
Timestamp:
10/28/12 17:31:15 (7 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MiddleWareConnection

    v14 v15  
    1919}}} 
    2020=== RsbToBMLRealizerAdapter === 
     21The RsbToBMLRealizerAdapter must transfer BML messages it receives through the BML scope to the connected RealizerPort. This is done using an event handler in an rsb listener. The RsbToBMLRealizerAdapter must submit all feedback messages from the RealizerPort over the Rsb BML_FEEDBACK_SCOPE. This is achieved by connecting the RsbToBMLRealizerAdapter as a feedbacklistener to the RealizerPort and using an rsb informer to send out feedback whenever a feedback callback occurs. 
     22 
     23See also http://docs.cor-lab.de/rsb-manual/0.7/html/examples-basic.html for rsb's information sending/receiving basics. 
     24 
    2125{{{ 
    2226package asap.rsbadapters; 
     
    4852    { 
    4953        realizerPort = port; 
     54        realizerPort.addListeners(this); 
    5055        Factory factory = Factory.getInstance(); 
    5156 
     
    98103} 
    99104}}} 
     105 
    100106=== BMLRealizerToRsbAdapter === 
     107The BMLRealizerToRsbAdapter acts as a RealizerPort. It submits BML messages through the rsb BML scope, using an rsb informer. It receives feedback from the rsb BML_FEEDBACK scope, using an eventhandler of a rsb listener. This feedback is submitted to all registered BMLFeedbackListeners. 
     108 
    101109{{{ 
    102110package asap.rsbadapters;