public interface FlowRule extends BatchOperationTarget
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_TIMEOUT |
static int |
MIN_PRIORITY |
| Modifier and Type | Method and Description |
|---|---|
short |
appId()
Returns the application id of this flow.
|
DeviceId |
deviceId()
Returns the identity of the device where this rule applies.
|
GroupId |
groupId()
Returns the group id of this flow.
|
FlowId |
id()
Returns the ID of this flow.
|
boolean |
isPermanent()
Returns whether the flow is permanent i.e.
|
int |
priority()
Returns the flow rule priority given in natural order; higher numbers
mean higher priorities.
|
TrafficSelector |
selector()
Returns the traffic selector that identifies what traffic this
rule should apply to.
|
int |
timeout()
Returns the timeout for this flow requested by an application.
|
TrafficTreatment |
treatment()
Returns the traffic treatment that applies to selected traffic.
|
static final int MAX_TIMEOUT
static final int MIN_PRIORITY
FlowId id()
short appId()
GroupId groupId()
int priority()
DeviceId deviceId()
TrafficSelector selector()
TrafficTreatment treatment()
int timeout()
boolean isPermanent()
Copyright © 2015. All rights reserved.