Package org.onosproject.net.meter
Class MeterOperation
- java.lang.Object
-
- org.onosproject.net.meter.MeterOperation
-
public class MeterOperation extends Object
Representation of an operation on the meter table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MeterOperation.Type
Tyoe of meter operation.
-
Constructor Summary
Constructors Constructor Description MeterOperation(Meter meter, MeterOperation.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
Meter
meter()
Returns the meter.String
toString()
MeterOperation.Type
type()
Returns the type of operation.
-
-
-
Constructor Detail
-
MeterOperation
public MeterOperation(Meter meter, MeterOperation.Type type)
-
-
Method Detail
-
type
public MeterOperation.Type type()
Returns the type of operation.- Returns:
- type
-
meter
public Meter meter()
Returns the meter.- Returns:
- a meter
-
-