blob: 0c532623ab34ec20c830ca12ab6c6eef6da22072 [file] [log] [blame]
Brian O'Connorfa81eae2014-10-30 13:20:05 -07001/*
2 * Copyright 2014 Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
Brian O'Connorabafb502014-12-02 22:26:20 -080016package org.onosproject.net.intent;
Brian O'Connorfa81eae2014-10-30 13:20:05 -070017
18/**
19 * Facade for receiving notifications from the intent batch service.
20 */
Brian O'Connorea4d7d12015-01-28 16:37:46 -080021@Deprecated
Brian O'Connorfa81eae2014-10-30 13:20:05 -070022public interface IntentBatchDelegate {
23
24 /**
25 * Submits the specified batch of intent operations for processing.
26 *
27 * @param operations batch of operations
28 */
29 void execute(IntentOperations operations);
30
31 /**
32 * Cancesl the specified batch of intent operations.
33 *
34 * @param operations batch of operations to be cancelled
35 */
36 void cancel(IntentOperations operations);
37}