sunish vk | 30637eb | 2016-02-16 15:19:32 +0530 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2016-present Open Networking Laboratory |
sunish vk | 30637eb | 2016-02-16 15:19:32 +0530 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with |
| 5 | * the License. You may obtain a copy of the License at |
| 6 | * |
| 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | * |
| 9 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on |
| 10 | * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the |
| 11 | * specific language governing permissions and limitations under the License. |
| 12 | */ |
| 13 | package org.onosproject.ospf.controller; |
| 14 | |
| 15 | import java.util.List; |
| 16 | |
| 17 | /** |
| 18 | * Represents an OSPF Process. |
| 19 | */ |
| 20 | public interface OspfProcess { |
| 21 | |
| 22 | /** |
| 23 | * Gets the list of areas belonging to this process. |
| 24 | * |
| 25 | * @return list of areas belonging to this process |
| 26 | */ |
| 27 | public List<OspfArea> areas(); |
| 28 | |
| 29 | /** |
| 30 | * Sets the list of areas belonging to this process. |
| 31 | * |
| 32 | * @param areas list of areas belonging to this process |
| 33 | */ |
| 34 | public void setAreas(List<OspfArea> areas); |
| 35 | |
| 36 | /** |
| 37 | * Gets the process id. |
| 38 | * |
| 39 | * @return process id |
| 40 | */ |
| 41 | public String processId(); |
| 42 | |
| 43 | /** |
| 44 | * Sets the process id. |
| 45 | * |
| 46 | * @param processId the process id |
| 47 | */ |
| 48 | public void setProcessId(String processId); |
| 49 | } |