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 class
L4ModificationInstruction.L4SubType
Represents the type of traffic treatment.static class
L4ModificationInstruction.ModTransportPortInstruction
Represents 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.L4SubType
subtype()
Returns the subtype of the modification instruction.Instruction.Type
type()
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:Instruction
Returns the type of instruction.- Specified by:
type
in interfaceInstruction
- Returns:
- type of instruction
-
-