public class DefaultTypedFlowEntry extends DefaultFlowEntry implements TypedStoredFlowEntry
DefaultFlowRule.BuilderTypedStoredFlowEntry.FlowLiveTypeFlowEntry.FlowEntryStateFlowRule.Builder, FlowRule.FlowRemoveReasonDEFAULT_TABLE, MAX_PRIORITY, MAX_TIMEOUT, MIN_PRIORITY| Constructor and Description |
|---|
DefaultTypedFlowEntry(FlowEntry fe)
Creates a typed flow entry from flow entry, with default flow live type(IMMEDIATE_FLOW).
|
DefaultTypedFlowEntry(FlowEntry fe,
TypedStoredFlowEntry.FlowLiveType liveType)
Creates a typed flow entry from flow entry and flow live type.
|
DefaultTypedFlowEntry(FlowRule rule)
Creates a typed flow entry from flow rule, with default flow live type(IMMEDIATE_FLOW).
|
DefaultTypedFlowEntry(FlowRule rule,
FlowEntry.FlowEntryState state,
long life,
long packets,
long bytes)
Creates a typed flow entry from flow rule and its statistics, with default flow live type(IMMEDIATE_FLOW).
|
DefaultTypedFlowEntry(FlowRule rule,
FlowEntry.FlowEntryState state,
long life,
TimeUnit lifeTimeUnit,
long packets,
long bytes)
Creates a typed flow entry from flow rule and its statistics, with default flow live type(IMMEDIATE_FLOW).
|
DefaultTypedFlowEntry(FlowRule rule,
int errType,
int errCode,
TypedStoredFlowEntry.FlowLiveType liveType)
Creates a typed flow entry from flow rule, error code and flow live type.
|
DefaultTypedFlowEntry(FlowRule rule,
TypedStoredFlowEntry.FlowLiveType liveType)
Creates a typed flow entry from flow rule and flow live type.
|
| Modifier and Type | Method and 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.
|
String |
toString() |
bytes, errCode, errType, lastSeen, life, life, liveType, packets, setBytes, setLastSeen, setLife, setLife, setLiveType, setPackets, setState, stateappId, builder, created, deviceId, equals, exactMatch, groupId, hardTimeout, hashCode, id, isPermanent, payLoad, priority, reason, selector, table, tableId, timeout, treatmentclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetBytes, setLastSeen, setLife, setLife, setLiveType, setPackets, setStatepublic DefaultTypedFlowEntry(FlowRule rule, FlowEntry.FlowEntryState state, long life, TimeUnit lifeTimeUnit, long packets, long bytes)
rule - the flow rulestate - the flow statelife - the flow duration since creationlifeTimeUnit - the time unit of lifepackets - the flow packets countbytes - the flow bytes countpublic DefaultTypedFlowEntry(FlowRule rule, FlowEntry.FlowEntryState state, long life, long packets, long bytes)
rule - the flow rulestate - the flow statelife - the flow duration since creationpackets - the flow packets countbytes - the flow bytes countpublic DefaultTypedFlowEntry(FlowRule rule)
rule - the flow rulepublic DefaultTypedFlowEntry(FlowEntry fe)
fe - the flow entrypublic DefaultTypedFlowEntry(FlowRule rule, TypedStoredFlowEntry.FlowLiveType liveType)
rule - the flow ruleliveType - the flow live typepublic DefaultTypedFlowEntry(FlowEntry fe, TypedStoredFlowEntry.FlowLiveType liveType)
fe - the flow ruleliveType - the flow live typepublic DefaultTypedFlowEntry(FlowRule rule, int errType, int errCode, TypedStoredFlowEntry.FlowLiveType liveType)
rule - the flow ruleerrType - the flow error typeerrCode - the flow error codeliveType - the flow live typepublic TypedStoredFlowEntry.FlowLiveType flowLiveType()
TypedStoredFlowEntryflowLiveType in interface TypedStoredFlowEntrypublic void setFlowLiveType(TypedStoredFlowEntry.FlowLiveType liveType)
TypedStoredFlowEntrysetFlowLiveType in interface TypedStoredFlowEntryliveType - new flow live type.public String toString()
toString in class DefaultFlowEntry