Search in sources :

Example 1 with SensorsLocalServer

use of il.ac.technion.cs.smarthouse.system.sensors.SensorsLocalServer in project Smartcity-Smarthouse by TechnionYP5777.

the class GenericSensorTest method init.

@Before
public void init() {
    builder = new SensorBuilder().setCommname("testComm").setAlias("testAlias");
    systemCore = new SystemCore();
    server = new SensorsLocalServer(systemCore.getFileSystem());
    new Thread(server).start();
}
Also used : SensorBuilder(il.ac.technion.cs.smarthouse.sensors.simulator.SensorBuilder) SystemCore(il.ac.technion.cs.smarthouse.system.SystemCore) SensorsLocalServer(il.ac.technion.cs.smarthouse.system.sensors.SensorsLocalServer) Before(org.junit.Before)

Aggregations

SensorBuilder (il.ac.technion.cs.smarthouse.sensors.simulator.SensorBuilder)1 SystemCore (il.ac.technion.cs.smarthouse.system.SystemCore)1 SensorsLocalServer (il.ac.technion.cs.smarthouse.system.sensors.SensorsLocalServer)1 Before (org.junit.Before)1