mirror of
https://github.com/deavmi/doap
synced 2024-07-04 15:10:11 +02:00
CoapRequestFuture
- When the `wait(Duration)` returns `false` (i.e. times out) then also set the state to `RequestState.TIMEDOUT`
This commit is contained in:
parent
9b779b4c9b
commit
19722746f4
|
@ -435,6 +435,7 @@ public class CoapRequestFuture
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
this.state = RequestState.TIMEDOUT;
|
||||||
throw new RequestTimeoutException(this, timeout);
|
throw new RequestTimeoutException(this, timeout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user