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
tom
2014-09-17 13:53:10 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
343b6ac83c80462108fd27c45929e8904c561d42
343b6ac8
2 parents
642b2264
414196d1
Merge remote-tracking branch 'origin/master'
Show 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 @
343b6ac
...
...
@@ -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 @
343b6ac
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