public static interface Connection.Listener
| Modifier and Type | Field and Description |
|---|---|
static Connection.Listener |
NULL |
| Modifier and Type | Method and Description |
|---|---|
void |
received(byte[] bytes)
Called whenever a message was received from arduino.
|
void |
sent(byte[] bytes)
Called whenever a message was sent to the arduino.
|
static final Connection.Listener NULL
void received(byte[] bytes)
throws java.io.IOException
bytes - the message readjava.io.IOExceptionvoid sent(byte[] bytes) throws java.io.IOException
bytes - the message readjava.io.IOExceptionCopyright © 2016. All rights reserved.