added Communicator (a class to communicate with a raspberry)

This commit is contained in:
paul-loedige 2020-12-28 23:49:52 +01:00
parent 05abb922d1
commit 7186e84e13

View File

@ -0,0 +1,35 @@
package com.example.aped.communication;
import java.io.File;
import kotlin.NotImplementedError;
public class Communicator implements IIO{
private String address;
private int port;
public Communicator(String address, int port){
this.address = address;
this.port = port;
}
@Override
public String read(String deviceName) {
throw new NotImplementedError();
}
@Override
public String write(String deviceName, String value) {
throw new NotImplementedError();
}
@Override
public int uploadXML(File xmlFile) {
throw new NotImplementedError();
}
@Override
public int downloadXML() {
throw new NotImplementedError();
}
}