Toshio Koide | 485b478 | 2014-10-20 19:34:21 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.resource; |
| 2 | |
| 3 | /** |
| 4 | * Abstraction of allocated resource. |
| 5 | */ |
| 6 | public interface ResourceAllocation extends ResourceRequest { |
Toshio Koide | a363f43 | 2014-10-23 12:49:40 -0700 | [diff] [blame] | 7 | |
| 8 | /** |
| 9 | * Returns the type of the allocated resource. |
| 10 | * |
| 11 | * @return the type of the allocated resource |
| 12 | */ |
Toshio Koide | d1865a4 | 2014-10-23 12:44:55 -0700 | [diff] [blame] | 13 | ResourceType type(); |
Toshio Koide | 485b478 | 2014-10-20 19:34:21 -0700 | [diff] [blame] | 14 | } |