public class NodeToNodeLink extends Object
NodeToNodeLink class.
Constructor and Description |
---|
NodeToNodeLink(int nodeId,
int ifindex,
DataLinkInterface.DiscoveryProtocol protocol)
Constructor for NodeToNodeLink.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getIfindex()
getIfindex
|
int |
getNodeId()
getNodeId
|
int |
getNodeparentid()
getNodeparentid
|
int |
getParentifindex()
getParentifindex
|
DataLinkInterface.DiscoveryProtocol |
getProtocol() |
int |
hashCode() |
void |
setNodeparentid(int nodeParentId)
setNodeparentid
|
void |
setParentifindex(int parentIfIndex)
setParentifindex
|
String |
toString() |
public NodeToNodeLink(int nodeId, int ifindex, DataLinkInterface.DiscoveryProtocol protocol)
Constructor for NodeToNodeLink.
nodeId
- a int.ifindex
- a int.public DataLinkInterface.DiscoveryProtocol getProtocol()
public int getNodeparentid()
getNodeparentid
public void setNodeparentid(int nodeParentId)
setNodeparentid
nodeParentId
- The nodeparentid to set.public int getParentifindex()
getParentifindex
public void setParentifindex(int parentIfIndex)
setParentifindex
parentIfIndex
- The parentifindex to set.public int getIfindex()
getIfindex
public int getNodeId()
getNodeId
Copyright © 2015. All rights reserved.