Change-Id: Ib1a58ff94f88f352636b5f0af7a6fe5244a8fe7e
Issue-ID: CCSDK-1455
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
return streamHandler.getFutureFromSendMessage(streamHandler.sendMessage(formattedRequest, messageId),
replyTimeout.toLong(), TimeUnit.SECONDS)
} catch (e: InterruptedException) {
- Thread.currentThread().interrupt()
throw NetconfException("$deviceInfo: Interrupted while waiting for reply for request: $formattedRequest", e)
} catch (e: TimeoutException) {
throw NetconfException("$deviceInfo: Timed out while waiting for reply for request $formattedRequest after $replyTimeout sec.",