public class EventDistributor extends Object implements ArduinoListener
| Modifier and Type | Class and Description |
|---|---|
static class |
EventDistributor.DeviceEventType |
| Constructor and Description |
|---|
EventDistributor(javax.enterprise.inject.spi.BeanManager bm,
Class<?> device) |
| Modifier and Type | Method and Description |
|---|---|
void |
onMessageReceived(String key,
String value) |
void |
onMessageTransmitted(String key,
String value) |
void |
onStateChange(ConnectionState currentState,
ConnectionState targetState) |
public EventDistributor(javax.enterprise.inject.spi.BeanManager bm,
Class<?> device)
public void onMessageReceived(String key, String value)
onMessageReceived in interface ArduinoListenerpublic void onMessageTransmitted(String key, String value)
onMessageTransmitted in interface ArduinoListenerpublic void onStateChange(ConnectionState currentState, ConnectionState targetState)
onStateChange in interface ArduinoListenerCopyright © 2015. All Rights Reserved.