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