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 classMeterOperation.TypeTyoe 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 booleanequals(Object o)inthashCode()Metermeter()Returns the meter.StringtoString()MeterOperation.Typetype()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
-
-