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.InstructionInstruction.Type
 
- 
 - 
Method SummaryAll 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- 
actionpublic PiTableAction action() Returns the protocol-independent table action defined by this instruction.- Returns:
- an action
 
 - 
typepublic Instruction.Type type() Description copied from interface:InstructionReturns the type of instruction.- Specified by:
- typein interface- Instruction
- Returns:
- type of instruction
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-