Class L4ModificationInstruction
- java.lang.Object
-
- org.onosproject.net.flow.instructions.L4ModificationInstruction
-
- All Implemented Interfaces:
Instruction
- Direct Known Subclasses:
L4ModificationInstruction.ModTransportPortInstruction
public abstract class L4ModificationInstruction extends java.lang.Object implements Instruction
Abstraction of a single traffic treatment step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classL4ModificationInstruction.L4SubTypeRepresents the type of traffic treatment.static classL4ModificationInstruction.ModTransportPortInstructionRepresents a L4 src/dst modification instruction.-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.instructions.Instruction
Instruction.Type
-
-
Constructor Summary
Constructors Constructor Description L4ModificationInstruction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract L4ModificationInstruction.L4SubTypesubtype()Returns the subtype of the modification instruction.Instruction.Typetype()Returns the type of instruction.
-
-
-
Method Detail
-
subtype
public abstract L4ModificationInstruction.L4SubType subtype()
Returns the subtype of the modification instruction.- Returns:
- type of instruction
-
type
public Instruction.Type type()
Description copied from interface:InstructionReturns the type of instruction.- Specified by:
typein interfaceInstruction- Returns:
- type of instruction
-
-