public static class Connection.ListenerAdapter extends java.lang.Object implements Connection.Listener
NULL| Constructor and Description |
|---|
ListenerAdapter() |
| 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.
|
public void received(byte[] bytes)
throws java.io.IOException
Connection.Listenerreceived in interface Connection.Listenerbytes - the message readjava.io.IOExceptionpublic void sent(byte[] bytes)
throws java.io.IOException
Connection.Listenersent in interface Connection.Listenerbytes - the message readjava.io.IOExceptionCopyright © 2016. All rights reserved.