public class MessageQueue extends Object implements ArduinoListener
| Constructor and Description |
|---|
MessageQueue(Arduino device) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String key,
String value,
int timeout) |
void |
onMessageReceived(String key,
String value) |
void |
onMessageTransmitted(String key,
String value) |
void |
onStateChange(ConnectionState currentState,
ConnectionState targetState) |
public MessageQueue(Arduino 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 © 2014. All Rights Reserved.