lxbzmy / java-simple-serial-connector

Automatically exported from code.google.com/p/java-simple-serial-connector
0 stars 0 forks source link

It is not possible to specifiy the Listener to remove #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current (v0.9.0) SerialPort provides 
addEventListener(SerialPortEventListener) and a no arg removeEventListener(). 
This is asymetric for an unknown reason, also it permits us to unregister a 
specific listener.

Original issue reported on code.google.com by chriss....@gmail.com on 29 Oct 2012 at 12:33

GoogleCodeExporter commented 9 years ago
jSSC allow only one EventListener per serial port. Then you remove serial port 
EventListener the last actual listener will be removed.

Original comment by scream3r.org@gmail.com on 12 Sep 2014 at 2:34