MangoAutomation / BACnet4J

BACnet/IP stack written in Java. Forked from http://sourceforge.net/projects/bacnet4j/
GNU General Public License v3.0
183 stars 110 forks source link

quick SimpleACK fix #5

Open Tchuba opened 8 years ago

Tchuba commented 8 years ago

Proposed way to fix the issue with WriteProperty request - timeout exception is thrown in ServiceFutureImpl here:

 if(ex == null && ack == null && fail == null)
    ex = new BACnetException("Timeout waiting for response.");

even though ACK was received. SimpleAckService is just a stump and should be expanded if necessary - it's only purpose is for something to be passed instead of null in DefaultTransport to the success method