hmi.bml.bridge
Class LinkedBlockingQueueBridge
java.lang.Object
hmi.bml.bridge.LinkedBlockingQueueBridge
- All Implemented Interfaces:
- RealizerBridge
public class LinkedBlockingQueueBridge
- extends Object
- implements RealizerBridge
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outBridge
private final RealizerBridge outBridge
bmlRequestQueue
private final LinkedBlockingQueue<String> bmlRequestQueue
exec
private final ExecutorService exec
bmlPerformRunner
private Future<?> bmlPerformRunner
logger
private static final org.slf4j.Logger logger
LinkedBlockingQueueBridge
public LinkedBlockingQueueBridge(RealizerBridge out)
addListeners
public void addListeners(BMLListener... listeners)
- Description copied from interface:
RealizerBridge
- Add some listeners to which BML Feedback will be sent
- Specified by:
addListeners in interface RealizerBridge
performBML
public void performBML(String bmlString)
- Description copied from interface:
RealizerBridge
- Asks the realizer to perform a BML block. Non-blocking: this call will NOT block until the BML
has been completely performed! It may block until the BML has been scheduled, though -- this is undetermined.
- Specified by:
performBML in interface RealizerBridge
stopRunning
public void stopRunning()