Package org.onosproject.net.flow
Interface TypedStoredFlowEntry
-
- All Superinterfaces:
FlowEntry
,FlowRule
,PiTranslatable
,StoredFlowEntry
- All Known Implementing Classes:
DefaultTypedFlowEntry
public interface TypedStoredFlowEntry extends StoredFlowEntry
Represents a flow live type for a given flow entry.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TypedStoredFlowEntry.FlowLiveType
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.FlowEntry
FlowEntry.FlowEntryState
-
Nested classes/interfaces inherited from interface org.onosproject.net.flow.FlowRule
FlowRule.Builder, FlowRule.FlowRemoveReason
-
-
Field Summary
-
Fields inherited from interface org.onosproject.net.flow.FlowRule
DEFAULT_TABLE, MAX_PRIORITY, MAX_TIMEOUT, MIN_PRIORITY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypedStoredFlowEntry.FlowLiveType
flowLiveType()
Gets the flow live type for this entry.void
setFlowLiveType(TypedStoredFlowEntry.FlowLiveType liveType)
Sets the new flow live type for this entry.-
Methods inherited from interface org.onosproject.net.flow.FlowEntry
bytes, errCode, errType, lastSeen, life, life, liveType, packets, state
-
Methods inherited from interface org.onosproject.net.flow.FlowRule
appId, deviceId, equals, exactMatch, groupId, hardTimeout, id, isPermanent, priority, reason, selector, table, tableId, timeout, treatment
-
Methods inherited from interface org.onosproject.net.flow.StoredFlowEntry
setBytes, setLastSeen, setLife, setLife, setLiveType, setPackets, setState
-
-
-
-
Method Detail
-
flowLiveType
TypedStoredFlowEntry.FlowLiveType flowLiveType()
Gets the flow live type for this entry.- Returns:
- flow live type
-
setFlowLiveType
void setFlowLiveType(TypedStoredFlowEntry.FlowLiveType liveType)
Sets the new flow live type for this entry.- Parameters:
liveType
- new flow live type.
-
-