Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Ayaka Koshibe
2014-09-17 13:46:43 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
414196d1d48bb15946957a27109629e6f34ee397
414196d1
1 parent
f978c96a
FlowEntry contains a FlowId
Change-Id: I8cf2cdc30865db0d5af7de5eb7e312e9ec2c0417
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
core/api/src/main/java/org/onlab/onos/net/flow/FlowEntry.java
core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java
core/api/src/main/java/org/onlab/onos/net/flow/FlowEntry.java
View file @
414196d
...
...
@@ -5,6 +5,9 @@ package org.onlab.onos.net.flow;
*/
public
interface
FlowEntry
extends
FlowRule
{
FlowId
id
();
/**
* Returns the number of milliseconds this flow rule has been applied.
*
...
...
core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java
0 → 100644
View file @
414196d
package
org
.
onlab
.
onos
.
net
.
flow
;
/**
* Representation of a Flow ID.
*/
public
final
class
FlowId
{
private
final
int
flowid
;
private
FlowId
(
int
id
)
{
this
.
flowid
=
id
;
}
public
FlowId
valueOf
(
int
id
)
{
return
new
FlowId
(
id
);
}
public
int
value
()
{
return
flowid
;
}
}
Please
register
or
login
to post a comment