public interface MutableTableContext extends MutableType<TableContext>, MutableObject
TableContext
. Provides modification capability
to the context.Modifier and Type | Method and Description |
---|---|
MutableTableContext |
addCapability(TableFeaturePropType prop,
Set<? extends OfpCodeBasedEnum> caps)
Adds the given capability to the context.
|
MutableTableContext |
addMatchField(OxmFieldType ft,
boolean hasMask)
Adds the given match field to the context
|
MutableTableContext |
addMatchFieldCapability(TableFeaturePropType prop,
Set<? extends OxmFieldType> caps)
Adds the given match capability to the context.
|
MutableTableContext |
addNextTable(TableId id)
Adds the given table Id to the next tables set.
|
MutableTableContext |
addNextTableMiss(TableId id)
Adds the given table Id to the next tables miss set.
|
MutableTableContext |
maxEntries(long max)
Sets the maxEntries in the context
|
MutableTableContext |
tableId(TableId id)
Sets the table Id in the context.
|
toImmutable
writable
MutableTableContext tableId(TableId id)
id
- the tableIdMutableTableContext maxEntries(long max)
max
- the max entriesMutableTableContext addNextTable(TableId id)
id
- the table IdMutableTableContext addNextTableMiss(TableId id)
id
- the table IdMutableTableContext addCapability(TableFeaturePropType prop, Set<? extends OfpCodeBasedEnum> caps)
prop
- the prop type of the capabilitycaps
- set of supported capability codes for this capabilityMutableTableContext addMatchFieldCapability(TableFeaturePropType prop, Set<? extends OxmFieldType> caps)
prop
- the prop type of the capabilitycaps
- set of supported capability codes for this capabilityMutableTableContext addMatchField(OxmFieldType ft, boolean hasMask)
ft
- the given match field typehasMask
- given field mask bitCopyright © 2015. All Rights Reserved.