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.Listener
received
in interface Connection.Listener
bytes
- the message readjava.io.IOException
public void sent(byte[] bytes) throws java.io.IOException
Connection.Listener
sent
in interface Connection.Listener
bytes
- the message readjava.io.IOException
Copyright © 2019. All rights reserved.