asterics / AsTeRICS

The Assistive Technology Rapid Integration & Construction Set
http://www.asterics.eu
Other
57 stars 27 forks source link

reverted to old polling strategy instead of call of (nicer) "portControler.poll()" #301

Closed klues closed 5 years ago

klues commented 5 years ago

reverted to old polling strategy instead of call of (nicer) "portControler.poll()" because not all CIMControllers are implementing the poll() function, which led to the following Exception (reported by Barbara Wakolbinger):

[java] 2019-03-22 11:03:22.501 SEVERE [Main$1 uncaughtException] in Thread <Thread-11>: method eu.asterics.mw.cimcommunication.CIMPortController.poll() not implemented
[java] java.lang.RuntimeException: method eu.asterics.mw.cimcommunication.CIMPortController.poll() not implemented
[java]     at eu.asterics.mw.cimcommunication.CIMPortController.poll(CIMPortController.java:128)
[java]     at eu.asterics.component.processor.serialport.SerialPortInstance$3.run(SerialPortInstance.java:429)
[java]     at java.lang.Thread.run(Thread.java:748)
klues commented 5 years ago

updated documentation, I think we can merge 😄