Changes between Version 24 and Version 25 of InterpretingFeedback


Ignore:
Timestamp:
02/21/14 16:38:22 (6 years ago)
Author:
welberge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InterpretingFeedback

    v24 v25  
    77* BMLA extensions: [[BMLA#BMLAFeedback]] 
    88 
    9 See 
    10 https://github.com/saiba/OpenBMLParser/wiki 
    11 TODO: posixtime parsing 
    12  
     9Parsing can be done with [[https://github.com/saiba/OpenBMLParser/wiki|OpenBMLParser]], or using the BMLAFeedbackParser (in Asap/AsapBML) that wraps it: 
    1310{{{ 
    14  
     11BMLFeedback fb = BMLAFeedbackParser.parseFeedback(feedbackString); 
     12if (fb instanceof BMLABlockProgressFeedback) 
     13{ 
     14    BMLABlockProgressFeedback bpf = (BMLABlockProgressFeedback) fb; 
     15} 
     16else if(fb instanceof BMLASyncPointProgressFeedback) 
     17{ 
     18    BMLASyncPointProgressFeedback spf = (BMLASyncPointProgressFeedback) fb; 
     19} 
     20else if(fb instanceof BMLAPredictionFeedback) 
     21{ 
     22     BMLAPredictionFeedback pf = (BMLAPredictionFeedback) fb; 
     23} 
     24else if(fb instanceof BMLWarningFeedback) 
     25{ 
     26     BMLWarningFeedback wf = (BMLWarningFeedback) fb; 
     27} 
    1528}}} 
    1629