public abstract class ObservableArduino extends Object implements Arduino
| Constructor and Description |
|---|
ObservableArduino() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ArduinoListener listener) |
void |
fireReceived(String key,
String value)
Fires the rx event
|
void |
fireStateChange()
Fires a state change event based on the current states
|
void |
fireTransmitted(String key,
String value)
Fires the tx event
|
void |
removeListener(ArduinoListener listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getCache, getCurrentState, getTargetState, send, setCache, setTargetStatepublic void addListener(ArduinoListener listener)
addListener in interface Arduinopublic void removeListener(ArduinoListener listener)
removeListener in interface Arduinopublic void fireReceived(String key, String value)
key - value - public void fireTransmitted(String key, String value)
key - value - public void fireStateChange()
Copyright © 2014. All Rights Reserved.