Пример #1
0
 @Override
 public void close() {
   tearDown(String.format("The netconf session to %1$s has been closed", id.getName()));
 }
Пример #2
0
 private RpcResult<NetconfMessage> createSessionDownRpcResult() {
   return createErrorRpcResult(
       RpcError.ErrorType.TRANSPORT,
       String.format("The netconf session to %1$s is disconnected", id.getName()));
 }