Class PolicingResource
- java.lang.Object
-
- org.onosproject.net.behaviour.trafficcontrol.PolicingResource
-
- All Implemented Interfaces:
NetworkResource
@Beta public final class PolicingResource extends Object implements NetworkResource
Abstraction which encapsulates policer data to be used as network resource.
-
-
Constructor Summary
Constructors Constructor Description PolicingResource(PolicerId pId, ConnectPoint cP)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPointconnectPoint()Returns the connect point of this resource.booleanequals(Object o)inthashCode()PolicerIdpolicerId()Return the policer id of this resource.StringtoString()
-
-
-
Constructor Detail
-
PolicingResource
public PolicingResource(PolicerId pId, ConnectPoint cP)
-
-
Method Detail
-
policerId
public PolicerId policerId()
Return the policer id of this resource.- Returns:
- the policer id
-
connectPoint
public ConnectPoint connectPoint()
Returns the connect point of this resource.- Returns:
- the connect point
-
-