Package me.autobot.lib.hardware
Class Connection
java.lang.Object
me.autobot.lib.hardware.Connection
- Direct Known Subclasses:
I2CConnection,ROSSubscription,SerialConnection,WSSensorConnection
A connection to some device.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidwrite(byte[] data) Writes the given data to the connection.
-
Constructor Details
-
Connection
public Connection()
-
-
Method Details
-
write
protected void write(byte[] data) Writes the given data to the connection.- Parameters:
data- The data to write.
-