New Package dealing with device rollback
[transportpce.git] / renderer / src / main / java / org / opendaylight / transportpce / renderer / provisiondevice / transaction / delete / DeleteSubscriber.java
1 /*
2  * Copyright © 2024 Smartoptics and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.transportpce.renderer.provisiondevice.transaction.delete;
10
11 public class DeleteSubscriber implements Subscriber {
12
13     private final Result result;
14
15     public DeleteSubscriber(Result result) {
16         this.result = result;
17     }
18
19     @Override
20     public void result(Boolean success, String nodeId, String interfaceId) {
21
22         result.add(success, nodeId, interfaceId);
23
24     }
25
26 }