public class LinkInfo
extends java.lang.Object
Constructor and Description |
---|
LinkInfo(Pair<java.lang.Integer,java.lang.Integer> routers,
java.lang.String name,
int weight,
int linkID,
long time)
Construct a LinkInfo.
|
Modifier and Type | Method and Description |
---|---|
Pair<java.lang.Integer,java.lang.Integer> |
getEndPoints()
Get the end point pair
|
int |
getLinkID()
Get the link ID
|
java.lang.String |
getLinkName()
Get the link name
|
int |
getLinkWeight()
Get the link weight
|
long |
getTime()
Get the time the link was created
|
void |
setLinkWeight(int w)
Set the link weight
|
public LinkInfo(Pair<java.lang.Integer,java.lang.Integer> routers, java.lang.String name, int weight, int linkID, long time)
public Pair<java.lang.Integer,java.lang.Integer> getEndPoints()
public java.lang.String getLinkName()
public int getLinkWeight()
public void setLinkWeight(int w)
public int getLinkID()
public long getTime()
User Space Routing 0.10.3