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 PiTableAction
action()
Returns the protocol-independent table action defined by this instruction.boolean
equals(Object o)
int
hashCode()
String
toString()
Instruction.Type
type()
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:Instruction
Returns the type of instruction.- Specified by:
type
in interfaceInstruction
- Returns:
- type of instruction
-
-