Class PiInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.PiInstruction
-
- All Implemented Interfaces:
Instruction
@Beta public final class PiInstruction extends 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(Object o)inthashCode()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
-
-