added Communicator (a class to communicate with a raspberry)
This commit is contained in:
parent
05abb922d1
commit
7186e84e13
@ -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();
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user