hmi.bml.util
Class BMLFeedbackManager

java.lang.Object
  extended by hmi.bml.util.BMLFeedbackManager

public class BMLFeedbackManager
extends Object

Utility class to send out feedback to registered listeners

Author:
welberge

Field Summary
private  List<BMLExceptionListener> bel
          This listener should receive feedback that comes in over the network connection
private  List<BMLFeedbackListener> bfl
          This listener should receive feedback that comes in over the network connection
private  List<BMLTPlanningListener> bpl
           
private  List<BMLWarningListener> bwl
          This listener should receive feedback that comes in over the network connection
private static org.slf4j.Logger logger
           
 
Constructor Summary
BMLFeedbackManager()
           
 
Method Summary
 void addListeners(BMLListener... bmlListeners)
           
 void sendException(BMLExceptionFeedback bef)
           
 void sendFeedback(BMLFeedback feedback)
           
 void sendFeedback(String feedbackString)
          Sends feedback packed in an XML string
private  void sendPerformanceStartFeedback(BMLPerformanceStartFeedback psf)
           
private  void sendPerformanceStopFeedback(BMLPerformanceStopFeedback psf)
           
private  void sendPlanningFinished(BMLTPlanningFinishedFeedback psf)
           
private  void sendPlanningStart(BMLTPlanningStartFeedback psf)
           
private  void sendSyncProgress(BMLSyncPointProgressFeedback spf)
           
private  void sendWarning(BMLWarningFeedback wfb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.slf4j.Logger logger

bel

private List<BMLExceptionListener> bel
This listener should receive feedback that comes in over the network connection


bwl

private List<BMLWarningListener> bwl
This listener should receive feedback that comes in over the network connection


bfl

private List<BMLFeedbackListener> bfl
This listener should receive feedback that comes in over the network connection


bpl

private List<BMLTPlanningListener> bpl
Constructor Detail

BMLFeedbackManager

public BMLFeedbackManager()
Method Detail

addListeners

public void addListeners(BMLListener... bmlListeners)

sendFeedback

public void sendFeedback(String feedbackString)
Sends feedback packed in an XML string

Parameters:
feedbackString -

sendFeedback

public void sendFeedback(BMLFeedback feedback)

sendException

public void sendException(BMLExceptionFeedback bef)

sendPlanningStart

private void sendPlanningStart(BMLTPlanningStartFeedback psf)

sendPlanningFinished

private void sendPlanningFinished(BMLTPlanningFinishedFeedback psf)

sendWarning

private void sendWarning(BMLWarningFeedback wfb)

sendSyncProgress

private void sendSyncProgress(BMLSyncPointProgressFeedback spf)

sendPerformanceStartFeedback

private void sendPerformanceStartFeedback(BMLPerformanceStartFeedback psf)

sendPerformanceStopFeedback

private void sendPerformanceStopFeedback(BMLPerformanceStopFeedback psf)