Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
4d49e3e5
Commit
4d49e3e5
authored
Jul 17, 2015
by
Björn Richerzhagen
Browse files
Updates due to renamed SiS-Metrics
parent
89a19527
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/DefaultTopologyComponent.java
View file @
4d49e3e5
...
...
@@ -449,7 +449,7 @@ public class DefaultTopologyComponent implements TopologyComponent {
if
(!
onlyOnline
||
mac
.
isOnline
())
{
INode
node
=
currentView
.
createNode
(
INodeID
.
get
(
mac
.
getNetId
()));
node
.
setProperty
(
SiSTypes
.
LOCATION
,
node
.
setProperty
(
SiSTypes
.
PHY_
LOCATION
,
topoView
.
getPosition
(
mac
.
getMacAddress
()));
currentView
.
addElement
(
node
);
}
...
...
@@ -494,7 +494,7 @@ public class DefaultTopologyComponent implements TopologyComponent {
.
getNetId
()),
INodeID
.
get
(
topoView
.
getMac
(
neighborMac
).
getNetId
()));
currentView
.
addElement
(
edge
);
edge
.
setProperty
(
SiSTypes
.
DISTANCE
,
topoView
edge
.
setProperty
(
SiSTypes
.
PHY_
DISTANCE
,
topoView
.
getDistance
(
mac
.
getMacAddress
(),
neighborMac
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment