package org.onlab.onos.net.resource; | |
/** | |
* Representation of allocated bandwidth resource. | |
*/ | |
public class BandwidthResourceAllocation extends BandwidthResourceRequest | |
implements ResourceAllocation { | |
@Override | |
public ResourceType type() { | |
return ResourceType.BANDWIDTH; | |
} | |
/** | |
* Creates a new {@link BandwidthResourceAllocation} with {@link Bandwidth} | |
* object. | |
* | |
* @param bandwidth allocated bandwidth | |
*/ | |
public BandwidthResourceAllocation(Bandwidth bandwidth) { | |
super(bandwidth); | |
} | |
} |