public interface Connection
extends java.io.Closeable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Connection.Listener
The Listener is called on data received from the Arduino.
|
static class |
Connection.ListenerAdapter |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Connection.Listener listener) |
void |
removeListener(Connection.Listener listener) |
void |
write(byte[] bytes) |
void write(byte[] bytes)
throws java.io.IOException
java.io.IOExceptionvoid addListener(Connection.Listener listener)
void removeListener(Connection.Listener listener)
Copyright © 2016. All rights reserved.