Class PiInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.PiInstruction
-
- All Implemented Interfaces:
Instruction
@Beta public final class PiInstruction extends java.lang.Object implements Instruction
Representation of a protocol-independent instruction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.instructions.Instruction
Instruction.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PiTableActionaction()Returns the protocol-independent table action defined by this instruction.booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()Instruction.Typetype()Returns the type of instruction.
-
-
-
Method Detail
-
action
public PiTableAction action()
Returns the protocol-independent table action defined by this instruction.- Returns:
- an action
-
type
public Instruction.Type type()
Description copied from interface:InstructionReturns the type of instruction.- Specified by:
typein interfaceInstruction- Returns:
- type of instruction
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-